Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8597/0.8597, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6935/0.6935, allocations: 154.6 MB / 414.5 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.021e-05, allocations: 6.172 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005042/0.005062, allocations: 6.46 MB / 0.6256 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.008097, allocations: 3.02 MB / 0.6286 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.008318, allocations: 39.62 kB / 0.6286 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.009453, allocations: 0.9556 MB / 0.6296 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.01003, allocations: 0.5318 MB / 0.6301 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.01055, allocations: 457.6 kB / 0.6305 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000738/0.01128, allocations: 1.271 MB / 0.6318 GB, free: 388 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.01181, allocations: 0.5255 MB / 0.6323 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.01231, allocations: 0.6663 MB / 0.6329 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.01299, allocations: 478.7 kB / 0.6334 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.01306, allocations: 68 kB / 0.6335 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.0134, allocations: 347.1 kB / 0.6338 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.01359, allocations: 338.9 kB / 0.6341 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.01379, allocations: 311.2 kB / 0.6344 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.01461, allocations: 1.246 MB / 0.6356 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01462, allocations: 4 kB / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01462, allocations: 0 / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.01463, allocations: 0 / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001093/0.01572, allocations: 1.104 MB / 0.6367 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.01576, allocations: 12.02 kB / 0.6367 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/0.01655, allocations: 240.1 kB / 0.6369 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.01713, allocations: 0.543 MB / 0.6375 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.01716, allocations: 53.61 kB / 0.6375 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.01723, allocations: 64.36 kB / 0.6376 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.01821, allocations: 1.332 MB / 0.6389 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.01823, allocations: 4.188 kB / 0.6389 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.01828, allocations: 36.36 kB / 0.6389 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.33e-05/0.01837, allocations: 93.11 kB / 0.639 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.0191, allocations: 0.7504 MB / 0.6397 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.02212, allocations: 4.515 MB / 0.6442 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.02274, allocations: 0.5049 MB / 0.6446 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.02301, allocations: 286.2 kB / 0.6449 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.02303, allocations: 4.5 kB / 0.6449 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.02305, allocations: 39.06 kB / 0.645 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.403e-06/0.02306, allocations: 4 kB / 0.645 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002181/0.02524, allocations: 1.685 MB / 0.6466 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.02527, allocations: 55.91 kB / 0.6467 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.02562, allocations: 0.5144 MB / 0.6472 GB, free: 148 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.02564, allocations: 33.7 kB / 0.6472 GB, free: 108 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.02606, allocations: 431.8 kB / 0.6476 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.02615, allocations: 174.5 kB / 0.6478 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.02626, allocations: 130.5 kB / 0.6479 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.02636, allocations: 374.8 kB / 0.6483 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.02662, allocations: 273.8 kB / 0.6485 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.02697, allocations: 492.9 kB / 0.649 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.02762, allocations: 0.8086 MB / 0.6498 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02762, allocations: 4 kB / 0.6498 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001057/0.02868, allocations: 1.081 MB / 0.6508 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.0287, allocations: 8 kB / 0.6508 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.0287, allocations: 8 kB / 0.6509 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.02918, allocations: 275.8 kB / 0.6511 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.02942, allocations: 131.7 kB / 0.6512 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.03331, allocations: 6.582 MB / 0.6577 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.03355, allocations: 44.09 kB / 0.6577 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.03358, allocations: 31.94 kB / 0.6577 GB, free: 4.648 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.03378, allocations: 246.6 kB / 0.658 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.03384, allocations: 71.58 kB / 0.658 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.03477, allocations: 0.8818 MB / 0.6589 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.03477, allocations: 4 kB / 0.6589 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.03477, allocations: 4 kB / 0.6589 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.03478, allocations: 3.984 kB / 0.6589 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.03635, allocations: 1.523 MB / 0.6604 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.03635, allocations: 4.031 kB / 0.6604 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.03649, allocations: 71.81 kB / 0.6605 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.03691, allocations: 267.3 kB / 0.6607 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.03694, allocations: 12 kB / 0.6607 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/0.04071, allocations: 6.584 MB / 0.6672 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.04071, allocations: 4.031 kB / 0.6672 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.04185, allocations: 0.9737 MB / 0.6681 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.04199, allocations: 115.6 kB / 0.6682 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.04203, allocations: 8 kB / 0.6682 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.04221, allocations: 27.97 kB / 0.6683 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.04227, allocations: 47.86 kB / 0.6683 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.04229, allocations: 16 kB / 0.6683 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002329/0.04252, allocations: 342.8 kB / 0.6687 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.04252, allocations: 0 / 0.6687 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005026/0.04302, allocations: 223.9 kB / 0.6689 GB, free: 8.688 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.04314, allocations: 123.1 kB / 0.669 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.04426, allocations: 1.232 MB / 0.6702 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.04427, allocations: 0 / 0.6702 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.04489, allocations: 0.8542 MB / 0.671 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.04546, allocations: 204 kB / 0.6712 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.04687, allocations: 1.419 MB / 0.6726 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.04715, allocations: 412.8 kB / 0.673 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.04725, allocations: 44.5 kB / 0.673 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.04725, allocations: 0 / 0.673 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.2362/0.2835, allocations: 20.89 MB / 0.6935 GB, free: 94.2 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.085228684358299] Failed to read output from testmodel.py, exit status != 0: 0.28895174618810415 0.296536089 0.280221859 Calling exit ...