Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009895/0.0009895, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002251, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009742/0.0009742, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002282, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09783/1.12, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8275/0.8275, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2752/1.103, allocations: 49.13 MB / 448.4 MB, free: 6.059 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.781 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.969e-05, allocations: 2.312 kB / 449.7 MB, free: 4.777 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009429/0.009449, allocations: 10.6 MB / 460.3 MB, free: 10.2 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009275/0.01872, allocations: 7.089 MB / 467.4 MB, free: 3.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.02028, allocations: 83.25 kB / 467.5 MB, free: 3.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.02137, allocations: 413.5 kB / 467.9 MB, free: 2.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.02575, allocations: 1.793 MB / 469.7 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.02722, allocations: 0.6495 MB / 470.3 MB, free: 228 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.031, allocations: 2.986 MB / 473.3 MB, free: 13.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.03282, allocations: 1.181 MB / 474.5 MB, free: 12 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.03613, allocations: 2.245 MB / 476.7 MB, free: 9.742 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.03779, allocations: 1.052 MB / 477.8 MB, free: 8.691 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.03813, allocations: 159.9 kB / 477.9 MB, free: 8.535 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.03886, allocations: 323.6 kB / 478.3 MB, free: 8.219 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.03927, allocations: 0.5688 MB / 478.8 MB, free: 7.648 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.03989, allocations: 0.5426 MB / 479.4 MB, free: 7.105 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.04137, allocations: 1.46 MB / 480.8 MB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.048e-05/0.04139, allocations: 4.781 kB / 480.8 MB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.04139, allocations: 0 / 480.8 MB, free: 5.637 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.217e-05/0.04146, allocations: 0.875 kB / 480.8 MB, free: 5.637 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002581/0.04404, allocations: 2.392 MB / 483.2 MB, free: 3.219 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.04407, allocations: 8.031 kB / 483.2 MB, free: 3.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.04718, allocations: 0.9393 MB / 484.2 MB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.04858, allocations: 1.065 MB / 485.2 MB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.04863, allocations: 87.72 kB / 485.3 MB, free: 1.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.04881, allocations: 124.3 kB / 485.4 MB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.05082, allocations: 1.616 MB / 487.1 MB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.05086, allocations: 11.88 kB / 487.1 MB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.05097, allocations: 51.98 kB / 487.1 MB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/0.05127, allocations: 151.5 kB / 487.3 MB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.05212, allocations: 0.5671 MB / 487.8 MB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/0.05815, allocations: 5.736 MB / 493.6 MB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.05915, allocations: 0.5816 MB / 494.1 MB, free: 7.926 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.05947, allocations: 243.4 kB / 494.4 MB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.05952, allocations: 17 kB / 494.4 MB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.05955, allocations: 47.48 kB / 494.4 MB, free: 7.621 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.827e-06/0.05955, allocations: 1.719 kB / 494.5 MB, free: 7.621 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.008853/0.06841, allocations: 3.902 MB / 498.4 MB, free: 3.824 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.06844, allocations: 68.28 kB / 498.4 MB, free: 3.746 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.06909, allocations: 0.9028 MB / 499.3 MB, free: 2.836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.06917, allocations: 42.27 kB / 499.4 MB, free: 2.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.06945, allocations: 0.5858 MB / 500 MB, free: 2.195 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.06968, allocations: 325.1 kB / 0.4885 GB, free: 1.875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.06992, allocations: 187.2 kB / 0.4887 GB, free: 1.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.07002, allocations: 350.8 kB / 0.4891 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.07029, allocations: 197.5 kB / 0.4892 GB, free: 1.148 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.07067, allocations: 443.1 kB / 0.4897 GB, free: 0.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.07137, allocations: 0.7095 MB / 0.4904 GB, free: 15.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.07138, allocations: 0.9062 kB / 0.4904 GB, free: 15.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002046/0.07342, allocations: 1.271 MB / 0.4916 GB, free: 14.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.07345, allocations: 8 kB / 0.4916 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.07346, allocations: 8 kB / 0.4916 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.07569, allocations: 0.8541 MB / 0.4925 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.07631, allocations: 215.6 kB / 0.4927 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.08277, allocations: 7.001 MB / 0.4995 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.08371, allocations: 47.98 kB / 0.4995 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.08381, allocations: 43.95 kB / 0.4996 GB, free: 6 MB / 490.7 MB 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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.08421, allocations: 164.4 kB / 0.4997 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.08443, allocations: 119.9 kB / 0.4999 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.08704, allocations: 1.253 MB / 0.5011 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.08705, allocations: 11.94 kB / 0.5011 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.08706, allocations: 12 kB / 0.5011 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.08707, allocations: 3.984 kB / 0.5011 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.09091, allocations: 1.985 MB / 0.503 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.09092, allocations: 4 kB / 0.503 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.09159, allocations: 139.8 kB / 0.5032 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.09208, allocations: 238.9 kB / 0.5034 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.09485, allocations: 0.8375 MB / 0.5042 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-05/0.09494, allocations: 31.95 kB / 0.5043 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/0.1024, allocations: 6.988 MB / 0.5111 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1024, allocations: 4 kB / 0.5111 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.105, allocations: 1.258 MB / 0.5123 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.1052, allocations: 19.98 kB / 0.5123 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.1058, allocations: 47.98 kB / 0.5124 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.1061, allocations: 88.77 kB / 0.5125 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.1062, allocations: 32.61 kB / 0.5125 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004651/0.1066, allocations: 459.7 kB / 0.5129 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.1066, allocations: 0 / 0.5129 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001304/0.1079, allocations: 492 kB / 0.5134 GB, free: 7.293 MB / 0.4948 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 (37): * Single equations (assignments): 33 * 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002357/0.1082, allocations: 104.3 kB / 0.5135 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.1104, allocations: 1.47 MB / 0.5149 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.521e-05/0.1104, allocations: 27.11 kB / 0.515 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.112, allocations: 1.135 MB / 0.5161 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.1136, allocations: 0.6367 MB / 0.5167 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.1247, allocations: 2.584 MB / 0.5192 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.1251, allocations: 399.9 kB / 0.5196 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001056/0.1261, allocations: 286 kB / 0.5199 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009191/0.127, allocations: 399 kB / 0.5202 GB, free: 128 kB / 0.4948 GB Notification: Performance of SimCode: time 1.994e-06/0.127, allocations: 0 / 0.5202 GB, free: 128 kB / 0.4948 GB Notification: Performance of Templates: time 0.04598/0.173, allocations: 36.35 MB / 0.5557 GB, free: 12.54 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.310646739788353]