Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009546/0.0009546, allocations: 93.06 kB / 19.65 MB, free: 276 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.001497/0.001497, allocations: 165 kB / 23.02 MB, free: 1.547 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8248/0.8248, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.501e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01516/0.01518, allocations: 18.81 MB / 0.5387 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.02824, allocations: 9.496 MB / 0.548 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.03118, allocations: 197.6 kB / 0.5482 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.03353, allocations: 0.7753 MB / 0.5489 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.03969, allocations: 2.572 MB / 0.5514 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.04289, allocations: 1.581 MB / 0.553 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00865/0.05154, allocations: 7.718 MB / 0.5605 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006573/0.05811, allocations: 4.581 MB / 0.565 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008019/0.06613, allocations: 4.759 MB / 0.5696 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005412/0.07154, allocations: 3.313 MB / 0.5729 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.07329, allocations: 0.5938 MB / 0.5735 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.07543, allocations: 0.6873 MB / 0.5741 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.07821, allocations: 2.568 MB / 0.5766 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.08183, allocations: 2.027 MB / 0.5786 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.08833, allocations: 4.877 MB / 0.5834 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.08833, allocations: 0 / 0.5834 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.342e-06/0.08833, allocations: 1.531 kB / 0.5834 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002924/0.08863, allocations: 0 / 0.5834 GB, free: 1.438 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.008092/0.09672, allocations: 5.3 MB / 0.5886 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.09677, allocations: 12.03 kB / 0.5886 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.1007, allocations: 1.569 MB / 0.5901 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.1055, allocations: 3.008 MB / 0.593 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.1057, allocations: 314.2 kB / 0.5933 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007426/0.1064, allocations: 436.3 kB / 0.5938 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006896/0.1133, allocations: 4.73 MB / 0.5984 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.824e-05/0.1134, allocations: 28.31 kB / 0.5984 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.1137, allocations: 184 kB / 0.5986 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005271/0.1143, allocations: 374.2 kB / 0.5989 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.1178, allocations: 1.627 MB / 0.6005 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.1374, allocations: 21.17 MB / 0.6212 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.1383, allocations: 0.5744 MB / 0.6218 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.1391, allocations: 0.5506 MB / 0.6223 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.1392, allocations: 21.31 kB / 0.6223 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.1392, allocations: 54.69 kB / 0.6224 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=130): time 3.747e-06/0.1393, allocations: 1.562 kB / 0.6224 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=199): time 0.01297/0.1522, allocations: 6.604 MB / 0.6288 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.1523, allocations: 73.41 kB / 0.6289 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.154, allocations: 1.688 MB / 0.6305 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.1541, allocations: 61.7 kB / 0.6306 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.1554, allocations: 2.136 MB / 0.6327 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.1559, allocations: 0.7166 MB / 0.6334 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.1564, allocations: 418.4 kB / 0.6338 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1565, allocations: 476.8 kB / 0.6342 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/0.1573, allocations: 0.5081 MB / 0.6347 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.1586, allocations: 1.335 MB / 0.636 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.1612, allocations: 2.014 MB / 0.638 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.1612, allocations: 8 kB / 0.638 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005483/0.1666, allocations: 3.319 MB / 0.6412 GB, free: 3.988 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1667, allocations: 12 kB / 0.6413 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.1667, allocations: 16 kB / 0.6413 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004405/0.1711, allocations: 1.727 MB / 0.643 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.1719, allocations: 375.4 kB / 0.6433 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2593/0.4312, allocations: 35.84 MB / 0.6783 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4326, allocations: 126.7 kB / 0.6784 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4328, allocations: 90.05 kB / 0.6785 GB, free: 145.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.0008109/0.4336, allocations: 301.5 kB / 0.6788 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.4339, allocations: 332.3 kB / 0.6791 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.4377, allocations: 2.888 MB / 0.6819 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4377, allocations: 23.59 kB / 0.682 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/0.4378, allocations: 17.22 kB / 0.682 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4378, allocations: 10.06 kB / 0.682 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007528/0.4453, allocations: 6.296 MB / 0.6881 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4453, allocations: 8.125 kB / 0.6882 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.4457, allocations: 217.6 kB / 0.6884 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.4493, allocations: 1.631 MB / 0.69 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.4493, allocations: 43.09 kB / 0.69 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/0.4633, allocations: 35.77 MB / 0.7249 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4633, allocations: 7.781 kB / 0.7249 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.4673, allocations: 3.012 MB / 0.7279 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.4679, allocations: 0.5042 MB / 0.7284 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4681, allocations: 41.84 kB / 0.7284 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.4688, allocations: 131.6 kB / 0.7285 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/0.4692, allocations: 201.7 kB / 0.7287 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.4693, allocations: 57.97 kB / 0.7288 GB, free: 112 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000823/0.4701, allocations: 0.9806 MB / 0.7297 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-08/0.4701, allocations: 0 / 0.7297 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002284/0.4724, allocations: 1.049 MB / 0.7308 GB, free: 111.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.4726, allocations: 168.4 kB / 0.7309 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.4771, allocations: 5.415 MB / 0.7362 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4771, allocations: 3.484 kB / 0.7362 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.48, allocations: 4.564 MB / 0.7407 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.4819, allocations: 0.9135 MB / 0.7416 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.49, allocations: 7.287 MB / 0.7487 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/0.4909, allocations: 1.169 MB / 0.7498 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007873/0.4917, allocations: 437 kB / 0.7502 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.4919, allocations: 135.1 kB / 0.7504 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4919, allocations: 0 / 0.7504 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.05756/0.5495, allocations: 61.43 MB / 0.8104 GB, free: 60.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.516885161865503]