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.001029/0.001029, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001065/0.001065, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.962/0.962, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.847/0.847, allocations: 154.9 MB / 415.9 MB, free: 252 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.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.312e-06/1.312e-06, allocations: 0 / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.513e-05, allocations: 7.672 kB / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01344/0.01347, allocations: 16.95 MB / 0.5385 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.02266, allocations: 5.09 MB / 0.5434 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.02545, allocations: 194.6 kB / 0.5436 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.02765, allocations: 0.7407 MB / 0.5443 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.03177, allocations: 1.655 MB / 0.546 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.03521, allocations: 1.564 MB / 0.5475 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008675/0.04388, allocations: 7.349 MB / 0.5547 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007473/0.05136, allocations: 5.078 MB / 0.5596 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.059, allocations: 4.564 MB / 0.5641 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00555/0.06455, allocations: 3.537 MB / 0.5675 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.06626, allocations: 0.6445 MB / 0.5682 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.06809, allocations: 0.744 MB / 0.5689 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002606/0.0707, allocations: 2.759 MB / 0.5716 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002962/0.07366, allocations: 2.027 MB / 0.5736 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.07964, allocations: 5.025 MB / 0.5785 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.07964, allocations: 0 / 0.5785 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.011e-06/0.07965, allocations: 2.438 kB / 0.5785 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000289/0.07993, allocations: 4 kB / 0.5785 GB, free: 7.355 MB / 0.5417 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.01047/0.09041, allocations: 5.161 MB / 0.5835 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.09045, allocations: 8.031 kB / 0.5835 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/0.09431, allocations: 1.363 MB / 0.5849 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.09806, allocations: 2.68 MB / 0.5875 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.09828, allocations: 353.6 kB / 0.5878 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000704/0.09898, allocations: 464.3 kB / 0.5883 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006472/0.1055, allocations: 4.462 MB / 0.5926 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.1056, allocations: 24 kB / 0.5926 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.1059, allocations: 204.3 kB / 0.5928 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/0.1062, allocations: 316.9 kB / 0.5931 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.1087, allocations: 1.401 MB / 0.5945 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/0.1298, allocations: 23.95 MB / 0.6179 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.1308, allocations: 0.7011 MB / 0.6186 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.1313, allocations: 444.6 kB / 0.619 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/0.1314, allocations: 29.31 kB / 0.619 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1314, allocations: 47.64 kB / 0.6191 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=133): time 4.108e-06/0.1314, allocations: 0 / 0.6191 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.006005/0.1374, allocations: 3.013 MB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1375, allocations: 72.66 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009616/0.1384, allocations: 1.31 MB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.1385, allocations: 51.14 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.1396, allocations: 2.119 MB / 0.6255 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.14, allocations: 0.5113 MB / 0.626 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.1403, allocations: 364.8 kB / 0.6263 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1404, allocations: 483.8 kB / 0.6268 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.1407, allocations: 239.8 kB / 0.627 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.1415, allocations: 1.232 MB / 0.6282 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.1427, allocations: 1.643 MB / 0.6298 GB, free: 468 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.1427, allocations: 8 kB / 0.6298 GB, free: 460 kB / 0.5886 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002754/0.1455, allocations: 1.98 MB / 0.6318 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.1455, allocations: 12 kB / 0.6318 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.1455, allocations: 24 kB / 0.6318 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.147, allocations: 0.6948 MB / 0.6325 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.1476, allocations: 315.5 kB / 0.6328 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.1602, allocations: 23.35 MB / 0.6556 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.1616, allocations: 56 kB / 0.6556 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.1617, allocations: 75.94 kB / 0.6557 GB, free: 4.477 MB / 0.6198 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.001166/0.1629, allocations: 287.9 kB / 0.656 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.1632, allocations: 238.8 kB / 0.6562 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.1652, allocations: 1.473 MB / 0.6577 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1652, allocations: 16 kB / 0.6577 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.1652, allocations: 8.141 kB / 0.6577 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1652, allocations: 11.95 kB / 0.6577 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/0.1717, allocations: 3.673 MB / 0.6613 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.1717, allocations: 4 kB / 0.6613 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.1721, allocations: 143.7 kB / 0.6614 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.1734, allocations: 0.6207 MB / 0.662 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.1735, allocations: 32 kB / 0.6621 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2866/0.4601, allocations: 22.3 MB / 0.6838 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4601, allocations: 5.438 kB / 0.6838 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.4625, allocations: 1.74 MB / 0.6855 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.4631, allocations: 326.2 kB / 0.6858 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4633, allocations: 37.62 kB / 0.6859 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.4637, allocations: 26.09 kB / 0.6859 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.464, allocations: 130.2 kB / 0.686 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.4641, allocations: 30.22 kB / 0.6861 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005458/0.4646, allocations: 0.6964 MB / 0.6867 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4646, allocations: 1.594 kB / 0.6867 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002284/0.4669, allocations: 0.795 MB / 0.6875 GB, free: 146.1 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.0002375/0.4671, allocations: 139 kB / 0.6877 GB, free: 146 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002752/0.4699, allocations: 3.396 MB / 0.691 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.4699, allocations: 2.906 kB / 0.691 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.4717, allocations: 2.796 MB / 0.6937 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.4737, allocations: 0.7081 MB / 0.6944 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009715/0.4834, allocations: 6.561 MB / 0.7008 GB, free: 139 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.4849, allocations: 1.133 MB / 0.7019 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001048/0.486, allocations: 241.7 kB / 0.7021 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.487, allocations: 0.5693 MB / 0.7027 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of SimCode: time 3.417e-06/0.487, allocations: 3.375 kB / 0.7027 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.06145/0.5485, allocations: 39.56 MB / 0.7413 GB, free: 130.3 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.183971886988729]