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.0008373/0.0008373, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001013/0.001013, allocations: 181 kB / 23.36 MB, free: 1.133 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.9695/0.9695, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.812/0.812, allocations: 154.9 MB / 415.1 MB, free: 244 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.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 3.016e-06/3.016e-06, allocations: 4 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.779e-05, allocations: 3.062 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02258/0.0226, allocations: 10.34 MB / 490.7 MB, free: 12.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.03736, allocations: 6.968 MB / 497.7 MB, free: 5.281 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.04092, allocations: 75.31 kB / 497.7 MB, free: 5.207 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.04173, allocations: 398.3 kB / 498.1 MB, free: 4.816 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.04754, allocations: 1.724 MB / 499.9 MB, free: 3.102 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.04854, allocations: 0.6569 MB / 0.4888 GB, free: 2.449 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.05099, allocations: 2.852 MB / 0.4916 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.05221, allocations: 1.255 MB / 0.4928 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.05444, allocations: 2.091 MB / 0.4948 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.05566, allocations: 0.9642 MB / 0.4958 GB, free: 11.24 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.05588, allocations: 160 kB / 0.4959 GB, free: 11.08 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.05642, allocations: 319.5 kB / 0.4962 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.05692, allocations: 0.6426 MB / 0.4969 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006768/0.0576, allocations: 0.6468 MB / 0.4975 GB, free: 9.477 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.05918, allocations: 1.538 MB / 0.499 GB, free: 7.934 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.05918, allocations: 0 / 0.499 GB, free: 7.934 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.05918, allocations: 0.6875 kB / 0.499 GB, free: 7.934 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.05921, allocations: 0 / 0.499 GB, free: 7.934 MB / 474.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.002596/0.0618, allocations: 2.005 MB / 0.5009 GB, free: 5.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.06183, allocations: 9.281 kB / 0.501 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.0667, allocations: 0.8671 MB / 0.5018 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.06835, allocations: 1.045 MB / 0.5028 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.06842, allocations: 86.67 kB / 0.5029 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.06866, allocations: 132 kB / 0.503 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.07104, allocations: 1.613 MB / 0.5046 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.07109, allocations: 15.86 kB / 0.5046 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.07125, allocations: 51.98 kB / 0.5047 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004268/0.07167, allocations: 147.5 kB / 0.5048 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.07291, allocations: 0.571 MB / 0.5054 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00588/0.07879, allocations: 5.727 MB / 0.511 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.07977, allocations: 0.5778 MB / 0.5115 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.0801, allocations: 247.2 kB / 0.5118 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.08015, allocations: 17 kB / 0.5118 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.08018, allocations: 39.56 kB / 0.5118 GB, free: 10.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.195e-06/0.08019, allocations: 2.594 kB / 0.5118 GB, free: 10.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.008128/0.08831, allocations: 3.903 MB / 0.5156 GB, free: 6.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.08834, allocations: 69.44 kB / 0.5157 GB, free: 6.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.0889, allocations: 0.9028 MB / 0.5166 GB, free: 5.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.08898, allocations: 41.7 kB / 0.5166 GB, free: 5.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.08931, allocations: 0.586 MB / 0.5172 GB, free: 4.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.0895, allocations: 325.1 kB / 0.5175 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.08974, allocations: 191.3 kB / 0.5177 GB, free: 4.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.08983, allocations: 346.9 kB / 0.518 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.09009, allocations: 197 kB / 0.5182 GB, free: 3.945 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.09046, allocations: 443.8 kB / 0.5186 GB, free: 3.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.09114, allocations: 0.7086 MB / 0.5193 GB, free: 2.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.09115, allocations: 0 / 0.5193 GB, free: 2.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002066/0.09321, allocations: 1.274 MB / 0.5206 GB, free: 1.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.09323, allocations: 8 kB / 0.5206 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.09324, allocations: 8 kB / 0.5206 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.09533, allocations: 0.8552 MB / 0.5214 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.0958, allocations: 171.7 kB / 0.5216 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.1012, allocations: 6.924 MB / 0.5283 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.1017, allocations: 55.97 kB / 0.5284 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.1018, allocations: 44 kB / 0.5284 GB, free: 8.895 MB / 0.4948 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 (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.0002735/0.1021, allocations: 176.3 kB / 0.5286 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1022, allocations: 123.9 kB / 0.5287 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.1041, allocations: 1.245 MB / 0.5299 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1042, allocations: 11.94 kB / 0.5299 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1042, allocations: 12 kB / 0.53 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1042, allocations: 3.984 kB / 0.53 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.1069, allocations: 1.977 MB / 0.5319 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1069, allocations: 4 kB / 0.5319 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.1073, allocations: 108 kB / 0.532 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.1093, allocations: 0.8357 MB / 0.5328 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.1094, allocations: 27.95 kB / 0.5328 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/0.1148, allocations: 6.939 MB / 0.5396 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1148, allocations: 0 / 0.5396 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.1167, allocations: 1.27 MB / 0.5409 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.1172, allocations: 238.9 kB / 0.5411 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.1173, allocations: 16 kB / 0.5411 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.1178, allocations: 51.97 kB / 0.5412 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.118, allocations: 84.77 kB / 0.5412 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.118, allocations: 27.97 kB / 0.5413 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003077/0.1183, allocations: 459.6 kB / 0.5417 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.1183, allocations: 0 / 0.5417 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008998/0.1192, allocations: 491.9 kB / 0.5422 GB, free: 10.28 MB / 0.5105 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.0001702/0.1194, allocations: 110.3 kB / 0.5423 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.121, allocations: 1.453 MB / 0.5437 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.121, allocations: 18.25 kB / 0.5437 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.1221, allocations: 1.145 MB / 0.5448 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1231, allocations: 0.5068 MB / 0.5453 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.1263, allocations: 2.517 MB / 0.5478 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/0.1271, allocations: 396.1 kB / 0.5482 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006573/0.1277, allocations: 281.1 kB / 0.5484 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/0.1285, allocations: 403 kB / 0.5488 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.1285, allocations: 0 / 0.5488 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.03417/0.1627, allocations: 35.46 MB / 0.5834 GB, free: 0.5781 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.557080829050392]