Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009729/0.0009729, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009652/0.0009652, allocations: 173 kB / 23.03 MB, free: 1.543 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.9901/0.9901, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7601/0.7601, allocations: 154.9 MB / 414.8 MB, free: 424 kB / 378.7 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 179] 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.122e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006569/0.006601, allocations: 4.863 MB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.01028, allocations: 1.707 MB / 0.5271 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.0107, allocations: 39.62 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.01141, allocations: 216 kB / 0.5274 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008182/0.01223, allocations: 448.9 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000759/0.01299, allocations: 410.7 kB / 0.5282 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.01426, allocations: 1.275 MB / 0.5294 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008062/0.01507, allocations: 0.5346 MB / 0.5299 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.01613, allocations: 0.6664 MB / 0.5306 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008209/0.01695, allocations: 0.4954 MB / 0.5311 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.01709, allocations: 65.19 kB / 0.5311 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.01747, allocations: 139.8 kB / 0.5313 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.01777, allocations: 331 kB / 0.5316 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.01814, allocations: 307.9 kB / 0.5319 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009365/0.01907, allocations: 0.7435 MB / 0.5326 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.01908, allocations: 0.5312 kB / 0.5326 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01908, allocations: 0.5312 kB / 0.5326 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.0191, allocations: 0 / 0.5326 GB, free: 5.641 MB / 0.4948 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.001907/0.02101, allocations: 1.181 MB / 0.5338 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.02105, allocations: 12.03 kB / 0.5338 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.02227, allocations: 314.5 kB / 0.5341 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.02311, allocations: 0.5543 MB / 0.5346 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.02315, allocations: 46.56 kB / 0.5347 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.02327, allocations: 72.3 kB / 0.5347 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.02467, allocations: 1.081 MB / 0.5358 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.02471, allocations: 12.08 kB / 0.5358 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.0248, allocations: 31.56 kB / 0.5358 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.02498, allocations: 89.19 kB / 0.5359 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.0258, allocations: 354.3 kB / 0.5362 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.03053, allocations: 5.715 MB / 0.5418 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.03124, allocations: 285.6 kB / 0.5421 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.03149, allocations: 137.1 kB / 0.5422 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.03153, allocations: 8.5 kB / 0.5422 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.03156, allocations: 41.89 kB / 0.5423 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 5.31e-06/0.03157, allocations: 7.953 kB / 0.5423 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.002735/0.0343, allocations: 1.078 MB / 0.5433 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.03434, allocations: 63.84 kB / 0.5434 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.0349, allocations: 0.5342 MB / 0.5439 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.03495, allocations: 33.7 kB / 0.544 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.03524, allocations: 475.3 kB / 0.5444 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.03538, allocations: 179 kB / 0.5446 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.03556, allocations: 128.2 kB / 0.5447 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.03575, allocations: 0.5445 MB / 0.5452 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.03601, allocations: 113.9 kB / 0.5453 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.03643, allocations: 428.6 kB / 0.5457 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.03717, allocations: 0.5795 MB / 0.5463 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.03718, allocations: 5.844 kB / 0.5463 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001423/0.0386, allocations: 0.7437 MB / 0.547 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.03863, allocations: 15.98 kB / 0.5471 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.03864, allocations: 7.938 kB / 0.5471 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.04009, allocations: 315.1 kB / 0.5474 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.0405, allocations: 119.8 kB / 0.5475 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.04594, allocations: 7.607 MB / 0.5549 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.04644, allocations: 43.91 kB / 0.555 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.04649, allocations: 35.92 kB / 0.555 GB, free: 13.42 MB / 0.5261 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.0002579/0.04675, allocations: 200 kB / 0.5552 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.04688, allocations: 87.58 kB / 0.5553 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.04794, allocations: 0.5421 MB / 0.5558 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.04794, allocations: 4 kB / 0.5558 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.04795, allocations: 5.5 kB / 0.5558 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.04796, allocations: 0 / 0.5558 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.04986, allocations: 1.176 MB / 0.557 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.04986, allocations: 4.5 kB / 0.557 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.05008, allocations: 57.86 kB / 0.557 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.05111, allocations: 297.2 kB / 0.5573 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.05114, allocations: 8.969 kB / 0.5573 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/0.05561, allocations: 7.596 MB / 0.5647 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.05561, allocations: 0.7812 kB / 0.5647 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.05657, allocations: 0.7346 MB / 0.5654 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.05676, allocations: 111.5 kB / 0.5655 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.05682, allocations: 8 kB / 0.5656 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.05707, allocations: 37.92 kB / 0.5656 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.05718, allocations: 51.8 kB / 0.5656 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.0572, allocations: 16 kB / 0.5657 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002841/0.05749, allocations: 346.8 kB / 0.566 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.05749, allocations: 0 / 0.566 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007859/0.05827, allocations: 220 kB / 0.5662 GB, free: 1.289 MB / 0.5261 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.0001476/0.05842, allocations: 118.6 kB / 0.5663 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.05974, allocations: 1.19 MB / 0.5675 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.05974, allocations: 0 / 0.5675 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.06059, allocations: 0.9676 MB / 0.5684 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.06119, allocations: 215 kB / 0.5686 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.06301, allocations: 1.265 MB / 0.5699 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.06318, allocations: 207.4 kB / 0.5701 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000245/0.06342, allocations: 103.5 kB / 0.5702 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.06351, allocations: 40.5 kB / 0.5702 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/0.06351, allocations: 0 / 0.5702 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.015/0.07851, allocations: 11.97 MB / 0.5819 GB, free: 1.344 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.995927049778402]