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.0007028/0.0007028, allocations: 100.4 kB / 19.7 MB, free: 0.5664 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.0007009/0.0007009, allocations: 208.6 kB / 23 MB, free: 3.07 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.8374/0.8374, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7335/0.7335, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.0008497/0.0008497, allocations: 66.81 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3933, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01072/0.404, allocations: 13.92 MB / 0.8326 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.4131, allocations: 9.975 MB / 0.8424 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.4136, allocations: 82.16 kB / 0.8424 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.4155, allocations: 1.689 MB / 0.8441 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.4181, allocations: 1.849 MB / 0.8459 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.4191, allocations: 0.7589 MB / 0.8466 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.4209, allocations: 2.774 MB / 0.8493 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.4219, allocations: 1.178 MB / 0.8505 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.4232, allocations: 1.638 MB / 0.8521 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/0.4241, allocations: 1.081 MB / 0.8531 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.4243, allocations: 160.4 kB / 0.8533 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.4251, allocations: 0.7282 MB / 0.854 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.4254, allocations: 0.6127 MB / 0.8546 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.426, allocations: 0.7827 MB / 0.8554 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.4281, allocations: 2.794 MB / 0.8581 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4281, allocations: 0 / 0.8581 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4281, allocations: 0 / 0.8581 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.4282, allocations: 1.312 kB / 0.8581 GB, free: 7.969 MB / 0.6355 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.002431/0.4306, allocations: 2.15 MB / 0.8602 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.4306, allocations: 9.125 kB / 0.8602 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.4365, allocations: 2.12 MB / 0.8623 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.438, allocations: 1.232 MB / 0.8635 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.438, allocations: 89.23 kB / 0.8636 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4382, allocations: 123.6 kB / 0.8637 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.4417, allocations: 3.074 MB / 0.8667 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.4417, allocations: 14.98 kB / 0.8667 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4418, allocations: 59.48 kB / 0.8668 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.4422, allocations: 188.9 kB / 0.8669 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.4462, allocations: 2.786 MB / 0.8697 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/0.4534, allocations: 8.126 MB / 0.8776 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.4566, allocations: 2.171 MB / 0.8797 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4582, allocations: 1.21 MB / 0.8809 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.4582, allocations: 9 kB / 0.8809 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4583, allocations: 55.5 kB / 0.881 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 1.853e-06/0.4583, allocations: 0 / 0.881 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.02836/0.4866, allocations: 15.98 MB / 0.8966 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4867, allocations: 68.72 kB / 0.8966 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/0.4876, allocations: 1.038 MB / 0.8976 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.923e-05/0.4877, allocations: 49.7 kB / 0.8977 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.4881, allocations: 0.7596 MB / 0.8984 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.4883, allocations: 0.5344 MB / 0.899 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.4887, allocations: 291.5 kB / 0.8992 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.4887, allocations: 313 kB / 0.8995 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.4906, allocations: 1.507 MB / 0.901 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.4926, allocations: 1.776 MB / 0.9027 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.4967, allocations: 3.373 MB / 0.906 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4967, allocations: 0 / 0.906 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007079/0.5038, allocations: 5.2 MB / 0.9111 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5038, allocations: 11.98 kB / 0.9111 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5038, allocations: 8 kB / 0.9111 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003307/0.5071, allocations: 1.876 MB / 0.913 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.508, allocations: 411.3 kB / 0.9134 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.5256, allocations: 22.85 MB / 0.9357 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.5272, allocations: 307.5 kB / 0.936 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.5273, allocations: 63.97 kB / 0.936 GB, free: 11.99 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.0006741/0.528, allocations: 461.6 kB / 0.9365 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5282, allocations: 167 kB / 0.9366 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/0.5353, allocations: 5.248 MB / 0.9417 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.5353, allocations: 16.09 kB / 0.9418 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.5354, allocations: 16 kB / 0.9418 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5354, allocations: 11.95 kB / 0.9418 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.5444, allocations: 6.798 MB / 0.9484 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5445, allocations: 7.984 kB / 0.9484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.5453, allocations: 347.7 kB / 0.9488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/0.5483, allocations: 1.701 MB / 0.9504 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.5484, allocations: 48 kB / 0.9505 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/0.5642, allocations: 22.03 MB / 0.972 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5642, allocations: 11.88 kB / 0.972 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/0.5715, allocations: 4.801 MB / 0.9767 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007929/0.5723, allocations: 402.8 kB / 0.9771 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5725, allocations: 39.92 kB / 0.9771 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5735, allocations: 315.5 kB / 0.9774 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.5739, allocations: 160.9 kB / 0.9776 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/0.574, allocations: 55.97 kB / 0.9776 GB, free: 328 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006777/0.5747, allocations: 0.684 MB / 0.9783 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.5747, allocations: 0 / 0.9783 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001588/0.5763, allocations: 0.6523 MB / 0.9789 GB, free: 14.98 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.0002476/0.5765, allocations: 143.6 kB / 0.9791 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006234/0.5827, allocations: 4.913 MB / 0.9839 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5828, allocations: 0 / 0.9839 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.5865, allocations: 3.292 MB / 0.9871 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.588, allocations: 0.5102 MB / 0.9876 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.5937, allocations: 4.461 MB / 0.9919 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.5945, allocations: 0.9799 MB / 0.9929 GB, free: 404 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.5949, allocations: 127.3 kB / 0.993 GB, free: 276 kB / 0.7605 GB Notification: Performance of SimCode: time 1.182e-06/0.5949, allocations: 0 / 0.993 GB, free: 276 kB / 0.7605 GB Notification: Performance of Templates: time 0.05471/0.6496, allocations: 85.71 MB / 1.077 GB, free: 10.61 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: 10.25895091611892] Failed to read output from testmodel.py, exit status != 0: 0.6552532371133566 0.663470326 0.23384589399999994 Calling exit ...