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.0008621/0.0008621, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0009968/0.0009968, allocations: 211.8 kB / 23 MB, free: 3.117 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 0.92/0.92, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.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-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 0.7461/0.7461, allocations: 203.8 MB / 0.5049 GB, free: 0.75 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000969/0.000969, allocations: 79.88 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.433, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01171/0.4447, allocations: 15.33 MB / 0.8341 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.4555, allocations: 10.75 MB / 0.8446 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.4571, allocations: 85.69 kB / 0.8446 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.4597, allocations: 1.763 MB / 0.8464 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.4646, allocations: 1.85 MB / 0.8482 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.4663, allocations: 0.7695 MB / 0.8489 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003658/0.47, allocations: 2.771 MB / 0.8516 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.4715, allocations: 1.2 MB / 0.8528 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.4737, allocations: 1.564 MB / 0.8543 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.4755, allocations: 1.221 MB / 0.8555 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.4758, allocations: 165.7 kB / 0.8557 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.4774, allocations: 0.7993 MB / 0.8565 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.4779, allocations: 0.6207 MB / 0.8571 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009452/0.4789, allocations: 0.9597 MB / 0.858 GB, free: 1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.4823, allocations: 2.776 MB / 0.8607 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4823, allocations: 5 kB / 0.8607 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4823, allocations: 0 / 0.8607 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.278e-05/0.4824, allocations: 0 / 0.8607 GB, free: 15.57 MB / 0.6511 GB 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.003635/0.486, allocations: 2.153 MB / 0.8628 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.4861, allocations: 10.19 kB / 0.8628 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.492, allocations: 2.117 MB / 0.8649 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.4944, allocations: 1.234 MB / 0.8661 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.4944, allocations: 88.06 kB / 0.8662 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.4947, allocations: 115.7 kB / 0.8663 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.4985, allocations: 2.67 MB / 0.8689 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.4986, allocations: 7.078 kB / 0.8689 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.4987, allocations: 54.48 kB / 0.869 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/0.499, allocations: 194.9 kB / 0.8691 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004347/0.5034, allocations: 2.794 MB / 0.8719 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009978/0.5134, allocations: 10.37 MB / 0.882 GB, free: 152 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.5168, allocations: 2.182 MB / 0.8841 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.5186, allocations: 1.207 MB / 0.8853 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.752e-05/0.5187, allocations: 9.625 kB / 0.8853 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5187, allocations: 45 kB / 0.8854 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.5187, allocations: 3.938 kB / 0.8854 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.02924/0.5479, allocations: 16.01 MB / 0.901 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.548, allocations: 72.72 kB / 0.9011 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5491, allocations: 1.176 MB / 0.9022 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5493, allocations: 53.7 kB / 0.9023 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.5496, allocations: 0.7529 MB / 0.903 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.55, allocations: 0.5383 MB / 0.9035 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.5503, allocations: 287.5 kB / 0.9038 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.5504, allocations: 309.1 kB / 0.9041 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.5526, allocations: 1.514 MB / 0.9056 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.5546, allocations: 1.777 MB / 0.9073 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.5585, allocations: 3.365 MB / 0.9106 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5585, allocations: 4 kB / 0.9106 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007327/0.5658, allocations: 5.207 MB / 0.9157 GB, free: 15.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5658, allocations: 12.16 kB / 0.9157 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5659, allocations: 11.98 kB / 0.9157 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003381/0.5692, allocations: 1.874 MB / 0.9175 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.5702, allocations: 423.3 kB / 0.9179 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/0.5885, allocations: 23.33 MB / 0.9407 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5902, allocations: 311.6 kB / 0.941 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5903, allocations: 63.97 kB / 0.9411 GB, free: 4.164 MB / 0.7136 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007513/0.591, allocations: 470.9 kB / 0.9415 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.5913, allocations: 186.9 kB / 0.9417 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00737/0.5987, allocations: 5.238 MB / 0.9468 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5987, allocations: 16 kB / 0.9468 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/0.5987, allocations: 20 kB / 0.9469 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5987, allocations: 8.438 kB / 0.9469 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009744/0.6085, allocations: 7.324 MB / 0.954 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6085, allocations: 0 / 0.954 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.6093, allocations: 355.3 kB / 0.9544 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.6123, allocations: 1.715 MB / 0.956 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.6124, allocations: 39.97 kB / 0.9561 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.6298, allocations: 22.51 MB / 0.9781 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6298, allocations: 3.938 kB / 0.9781 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/0.6369, allocations: 4.83 MB / 0.9828 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009043/0.6378, allocations: 418.6 kB / 0.9832 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.638, allocations: 31.98 kB / 0.9832 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.639, allocations: 319.5 kB / 0.9835 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/0.6394, allocations: 156.9 kB / 0.9837 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.6395, allocations: 55.97 kB / 0.9837 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007824/0.6403, allocations: 0.7899 MB / 0.9845 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6403, allocations: 7.938 kB / 0.9845 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001632/0.6419, allocations: 0.6562 MB / 0.9851 GB, free: 5.863 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (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.0002513/0.6422, allocations: 143 kB / 0.9853 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006463/0.6487, allocations: 4.917 MB / 0.9901 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.6487, allocations: 4 kB / 0.9901 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.6525, allocations: 3.273 MB / 0.9933 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6542, allocations: 0.5584 MB / 0.9938 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.6606, allocations: 4.482 MB / 0.9982 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/0.6616, allocations: 1.561 MB / 0.9997 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.6621, allocations: 135.3 kB / 0.9998 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/0.6621, allocations: 0 / 0.9998 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.06016/0.7222, allocations: 85.92 MB / 1.084 GB, free: 0.6914 MB / 0.8542 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.203937093028799] Failed to read output from testmodel.py, exit status != 0: 0.7284505208954215 0.736074589 0.251996747 Calling exit ...