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.002533/0.002533, allocations: 81.5 kB / 19.44 MB, free: 336 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.003232/0.003232, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.325/1.325, allocations: 154.8 MB / 414.3 MB, free: 468 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 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.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 4.779e-06/4.779e-06, allocations: 3.984 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.358e-05, allocations: 5.156 kB / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02125/0.02129, allocations: 14.84 MB / 0.5344 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.0407, allocations: 10.45 MB / 0.5446 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.04249, allocations: 83.25 kB / 0.5446 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.04821, allocations: 1.733 MB / 0.5463 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.05546, allocations: 1.905 MB / 0.5482 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.05829, allocations: 0.7655 MB / 0.5489 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005365/0.06365, allocations: 2.837 MB / 0.5517 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.06606, allocations: 1.196 MB / 0.5529 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.06998, allocations: 2.007 MB / 0.5548 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.07186, allocations: 1.023 MB / 0.5558 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.07215, allocations: 166.3 kB / 0.556 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.07372, allocations: 0.7365 MB / 0.5567 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007859/0.07451, allocations: 0.6542 MB / 0.5574 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.07553, allocations: 0.6507 MB / 0.558 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.07949, allocations: 2.815 MB / 0.5607 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.0795, allocations: 0 / 0.5607 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.0795, allocations: 4.5 kB / 0.5607 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.07954, allocations: 0 / 0.5607 GB, free: 8.348 MB / 0.5261 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.005053/0.0846, allocations: 2.377 MB / 0.5631 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.08463, allocations: 8.781 kB / 0.5631 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.09512, allocations: 1.809 MB / 0.5648 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.0988, allocations: 1.276 MB / 0.5661 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.09892, allocations: 90.69 kB / 0.5662 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.09931, allocations: 120.3 kB / 0.5663 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.1044, allocations: 2.308 MB / 0.5685 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.006e-05/0.1045, allocations: 11.98 kB / 0.5686 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.1047, allocations: 62.81 kB / 0.5686 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000736/0.1054, allocations: 190.1 kB / 0.5688 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.1101, allocations: 1.353 MB / 0.5701 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.1258, allocations: 8.913 MB / 0.5788 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.1296, allocations: 1.008 MB / 0.5798 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.1314, allocations: 0.5547 MB / 0.5803 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/0.1315, allocations: 13 kB / 0.5804 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.1315, allocations: 42.39 kB / 0.5804 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 5.1e-06/0.1316, allocations: 8.516 kB / 0.5804 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=153): time 0.02744/0.159, allocations: 7.05 MB / 0.5873 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.1591, allocations: 68.72 kB / 0.5874 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.161, allocations: 1.286 MB / 0.5886 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.1612, allocations: 49.7 kB / 0.5887 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000832/0.1621, allocations: 0.8606 MB / 0.5895 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/0.1628, allocations: 0.5813 MB / 0.5901 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006884/0.1635, allocations: 333.1 kB / 0.5904 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002522/0.1637, allocations: 476.8 kB / 0.5908 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.1659, allocations: 0.7104 MB / 0.5915 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.1684, allocations: 1.128 MB / 0.5926 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/0.1732, allocations: 1.917 MB / 0.5945 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.1732, allocations: 7.938 kB / 0.5945 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01118/0.1843, allocations: 3.384 MB / 0.5978 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.1844, allocations: 11.94 kB / 0.5978 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.1844, allocations: 4.031 kB / 0.5978 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009524/0.1939, allocations: 1.84 MB / 0.5996 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.1956, allocations: 303.4 kB / 0.5999 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/0.2256, allocations: 20.64 MB / 0.6201 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.228, allocations: 191.7 kB / 0.6203 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.2282, allocations: 72 kB / 0.6203 GB, free: 9.41 MB / 0.5886 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.0007785/0.229, allocations: 316.2 kB / 0.6206 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/0.2295, allocations: 215 kB / 0.6208 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.2406, allocations: 3.28 MB / 0.624 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.2406, allocations: 16 kB / 0.6241 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/0.2406, allocations: 20 kB / 0.6241 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.2407, allocations: 7.969 kB / 0.6241 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.2554, allocations: 4.926 MB / 0.6289 GB, free: 472 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.2554, allocations: 4 kB / 0.6289 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.2568, allocations: 235.6 kB / 0.6291 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008778/0.2655, allocations: 1.751 MB / 0.6308 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.2658, allocations: 39.97 kB / 0.6309 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/0.2949, allocations: 20.35 MB / 0.6507 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2949, allocations: 7.938 kB / 0.6507 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.3051, allocations: 3.173 MB / 0.6538 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.3064, allocations: 390.7 kB / 0.6542 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.3066, allocations: 24 kB / 0.6542 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.3083, allocations: 211.7 kB / 0.6544 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/0.3089, allocations: 160.9 kB / 0.6546 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.309, allocations: 59.95 kB / 0.6547 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001144/0.3102, allocations: 0.7738 MB / 0.6554 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.3102, allocations: 0 / 0.6554 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002243/0.3124, allocations: 0.664 MB / 0.6561 GB, free: 3.527 MB / 0.6198 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.0003058/0.3127, allocations: 133.4 kB / 0.6562 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00929/0.322, allocations: 3.976 MB / 0.6601 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.322, allocations: 0 / 0.6601 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006607/0.3286, allocations: 3.093 MB / 0.6631 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.3311, allocations: 0.5381 MB / 0.6636 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/0.3387, allocations: 3.457 MB / 0.667 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.3402, allocations: 0.9485 MB / 0.6679 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00126/0.3415, allocations: 313.2 kB / 0.6682 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.3419, allocations: 100.4 kB / 0.6683 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/0.3419, allocations: 4 kB / 0.6683 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of Templates: time 0.2753/0.6172, allocations: 47.46 MB / 0.7147 GB, free: 170.6 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.730294650071301]