Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001275/0.001275, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001474/0.001474, allocations: 170.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.192/1.192, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.52e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008729/0.008754, allocations: 6.383 MB / 0.6248 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005907/0.01466, allocations: 2.996 MB / 0.6277 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.01512, allocations: 39.62 kB / 0.6277 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.01768, allocations: 0.9516 MB / 0.6287 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01888, allocations: 0.5318 MB / 0.6292 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.01996, allocations: 432.8 kB / 0.6296 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.02133, allocations: 1.263 MB / 0.6308 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008313/0.02217, allocations: 0.5256 MB / 0.6313 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009329/0.0231, allocations: 0.6702 MB / 0.632 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.02382, allocations: 478.7 kB / 0.6324 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.02393, allocations: 68 kB / 0.6325 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006481/0.02458, allocations: 347.1 kB / 0.6328 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.02492, allocations: 335 kB / 0.6332 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.0253, allocations: 315.2 kB / 0.6335 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.02673, allocations: 1.234 MB / 0.6347 GB, free: 4.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.02673, allocations: 0 / 0.6347 GB, free: 4.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.02674, allocations: 0 / 0.6347 GB, free: 4.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.02675, allocations: 0 / 0.6347 GB, free: 4.086 MB / 0.545 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.002035/0.02878, allocations: 1.108 MB / 0.6357 GB, free: 2.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.02883, allocations: 13.47 kB / 0.6358 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.03042, allocations: 252 kB / 0.636 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.03141, allocations: 0.5223 MB / 0.6365 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.03147, allocations: 49.67 kB / 0.6366 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.03159, allocations: 64.36 kB / 0.6366 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.03332, allocations: 1.336 MB / 0.6379 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.03335, allocations: 4.125 kB / 0.6379 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.03343, allocations: 32.36 kB / 0.638 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.0336, allocations: 89.19 kB / 0.638 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.03481, allocations: 0.7504 MB / 0.6388 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.03974, allocations: 4.515 MB / 0.6432 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.04073, allocations: 0.5075 MB / 0.6437 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.04115, allocations: 294.1 kB / 0.644 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.04118, allocations: 4.5 kB / 0.644 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.04121, allocations: 39.06 kB / 0.644 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.04122, allocations: 0 / 0.644 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003762/0.04498, allocations: 1.67 MB / 0.6456 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.04502, allocations: 59.91 kB / 0.6457 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.04561, allocations: 0.5105 MB / 0.6462 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.04566, allocations: 33.7 kB / 0.6462 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.04596, allocations: 431.8 kB / 0.6466 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.04611, allocations: 182.4 kB / 0.6468 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.04632, allocations: 126.6 kB / 0.6469 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.04653, allocations: 366.8 kB / 0.6473 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.04695, allocations: 273.8 kB / 0.6475 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.04755, allocations: 493 kB / 0.648 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.04862, allocations: 0.8125 MB / 0.6488 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.04862, allocations: 0 / 0.6488 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001844/0.05046, allocations: 1.067 MB / 0.6498 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.05049, allocations: 11.98 kB / 0.6499 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.0505, allocations: 8 kB / 0.6499 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008682/0.05137, allocations: 283.1 kB / 0.6501 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.05185, allocations: 127.8 kB / 0.6503 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/0.05868, allocations: 6.586 MB / 0.6567 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.05926, allocations: 43.95 kB / 0.6567 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.05931, allocations: 31.94 kB / 0.6568 GB, free: 12.35 MB / 0.5762 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.0003713/0.05968, allocations: 254.5 kB / 0.657 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.05979, allocations: 71.58 kB / 0.6571 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.06138, allocations: 0.8817 MB / 0.6579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.06139, allocations: 4 kB / 0.6579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.06139, allocations: 7.938 kB / 0.6579 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.0614, allocations: 0 / 0.6579 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.06391, allocations: 1.529 MB / 0.6594 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.06392, allocations: 4 kB / 0.6594 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.06419, allocations: 63.89 kB / 0.6595 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/0.06496, allocations: 271.3 kB / 0.6598 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.06499, allocations: 12 kB / 0.6598 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006543/0.07153, allocations: 6.571 MB / 0.6662 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.07154, allocations: 3.984 kB / 0.6662 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.0731, allocations: 0.9742 MB / 0.6671 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.07335, allocations: 115.5 kB / 0.6673 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.07343, allocations: 8 kB / 0.6673 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.07379, allocations: 31.95 kB / 0.6673 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.0739, allocations: 47.8 kB / 0.6673 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.07394, allocations: 16 kB / 0.6673 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003898/0.07433, allocations: 338.9 kB / 0.6677 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.07433, allocations: 0 / 0.6677 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007775/0.0751, allocations: 228 kB / 0.6679 GB, free: 396 kB / 0.5762 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.0001541/0.07526, allocations: 111.2 kB / 0.668 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.07726, allocations: 1.229 MB / 0.6692 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.07726, allocations: 4 kB / 0.6692 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.07855, allocations: 0.8581 MB / 0.67 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.0795, allocations: 197.9 kB / 0.6702 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.08158, allocations: 1.338 MB / 0.6715 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.08201, allocations: 411.3 kB / 0.6719 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.08233, allocations: 121.4 kB / 0.672 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.08245, allocations: 40.5 kB / 0.6721 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.08245, allocations: 0 / 0.6721 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.01997/0.1024, allocations: 11.27 MB / 0.6831 GB, free: 0.9336 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.148625440895557] Failed to read output from testmodel.py, exit status != 0: 0.11118212342262268 0.12657176299999995 0.09658853599999995 Calling exit ...