Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001846/0.001846, allocations: 88.72 kB / 19.44 MB, free: 356 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.002015/0.002015, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.513/1.513, 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.216/1.216, allocations: 154.8 MB / 414.4 MB, free: 460 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.341e-05, allocations: 7.359 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0431/0.04313, allocations: 30.81 MB / 0.55 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.06337, allocations: 10.16 MB / 0.5599 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.0663, allocations: 198.5 kB / 0.5601 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.07739, allocations: 3.746 MB / 0.5637 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.08399, allocations: 1.995 MB / 0.5657 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00675/0.09074, allocations: 2.156 MB / 0.5678 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.1027, allocations: 7.459 MB / 0.5751 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.1137, allocations: 5.122 MB / 0.5801 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/0.1232, allocations: 4.59 MB / 0.5846 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007453/0.1306, allocations: 3.243 MB / 0.5877 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.133, allocations: 0.6445 MB / 0.5884 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/0.1384, allocations: 1.681 MB / 0.59 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.004989/0.1434, allocations: 2.729 MB / 0.5927 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.1474, allocations: 2.016 MB / 0.5946 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.1619, allocations: 10.32 MB / 0.6047 GB, free: 11.11 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1619, allocations: 0 / 0.6047 GB, free: 11.11 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1619, allocations: 0.6875 kB / 0.6047 GB, free: 11.11 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003309/0.1622, allocations: 0 / 0.6047 GB, free: 11.11 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01469/0.1769, allocations: 5.003 MB / 0.6096 GB, free: 6.059 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.177, allocations: 12.03 kB / 0.6096 GB, free: 6.047 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.1845, allocations: 1.576 MB / 0.6111 GB, free: 4.469 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007871/0.1924, allocations: 3.181 MB / 0.6143 GB, free: 1.254 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.1928, allocations: 345.7 kB / 0.6146 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/0.1946, allocations: 472.3 kB / 0.615 GB, free: 464 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.2142, allocations: 7.965 MB / 0.6228 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000232/0.2145, allocations: 34.64 kB / 0.6228 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/0.2157, allocations: 200.3 kB / 0.623 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004662/0.2162, allocations: 320.8 kB / 0.6233 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.2297, allocations: 5.701 MB / 0.6289 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.2752, allocations: 22.06 MB / 0.6504 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.2785, allocations: 1.556 MB / 0.652 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.2806, allocations: 1.126 MB / 0.6531 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2807, allocations: 23.53 kB / 0.6531 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.2808, allocations: 47.88 kB / 0.6531 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=133): time 3.436e-06/0.2808, allocations: 0 / 0.6531 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136): time 0.01687/0.2976, allocations: 6.246 MB / 0.6592 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.2977, allocations: 68.72 kB / 0.6593 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.3003, allocations: 1.411 MB / 0.6607 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.3005, allocations: 45.7 kB / 0.6607 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.3026, allocations: 2.057 MB / 0.6627 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/0.3034, allocations: 0.4957 MB / 0.6632 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007516/0.3041, allocations: 351.3 kB / 0.6636 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3043, allocations: 309.1 kB / 0.6638 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.306, allocations: 0.9096 MB / 0.6647 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.3084, allocations: 1.597 MB / 0.6663 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/0.3127, allocations: 2.729 MB / 0.669 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/0.3127, allocations: 12 kB / 0.669 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007588/0.3203, allocations: 3.582 MB / 0.6725 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.3204, allocations: 22.59 kB / 0.6725 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.3204, allocations: 24.12 kB / 0.6725 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.324, allocations: 1.005 MB / 0.6735 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.3254, allocations: 343.4 kB / 0.6738 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2621/0.5875, allocations: 21.52 MB / 0.6948 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5898, allocations: 96.69 kB / 0.6949 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.5901, allocations: 91.17 kB / 0.695 GB, free: 166.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003727/0.5938, allocations: 1.613 MB / 0.6966 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.5946, allocations: 249.7 kB / 0.6968 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/0.6016, allocations: 2.953 MB / 0.6997 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.6016, allocations: 13.34 kB / 0.6997 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.6016, allocations: 10.75 kB / 0.6997 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.6016, allocations: 7.672 kB / 0.6997 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.6145, allocations: 6.013 MB / 0.7056 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.6145, allocations: 5.375 kB / 0.7056 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.6153, allocations: 177.3 kB / 0.7058 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/0.6182, allocations: 0.9272 MB / 0.7067 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.6183, allocations: 30.62 kB / 0.7067 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.6341, allocations: 20.37 MB / 0.7266 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.6341, allocations: 9.438 kB / 0.7266 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.6401, allocations: 3.038 MB / 0.7296 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.6413, allocations: 383.1 kB / 0.73 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.6417, allocations: 33.05 kB / 0.73 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.6425, allocations: 72.16 kB / 0.7301 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/0.6429, allocations: 135.4 kB / 0.7302 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.643, allocations: 36.09 kB / 0.7302 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001188/0.6442, allocations: 0.8979 MB / 0.7311 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.6442, allocations: 0 / 0.7311 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003316/0.6475, allocations: 0.7959 MB / 0.7319 GB, free: 142.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.6477, allocations: 145.2 kB / 0.732 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00588/0.6536, allocations: 3.926 MB / 0.7359 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.6536, allocations: 2.406 kB / 0.7359 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/0.6575, allocations: 2.664 MB / 0.7385 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.661, allocations: 0.7164 MB / 0.7392 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.6749, allocations: 7.428 MB / 0.7464 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/0.6788, allocations: 2.562 MB / 0.7489 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6803, allocations: 442.2 kB / 0.7493 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6805, allocations: 110.1 kB / 0.7494 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/0.6805, allocations: 0 / 0.7494 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.05354/0.7341, allocations: 36.37 MB / 0.785 GB, free: 104 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.582756137941033]