Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006632/0.0006632, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.00157, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006909/0.0006909, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009098/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9978/0.9978, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08964/1.087, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2612/1.05, allocations: 49.13 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.754e-06/9.057e-06, allocations: 5.812 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01317/0.01317, allocations: 18.93 MB / 468.6 MB, free: 1.793 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02465, allocations: 9.869 MB / 478.5 MB, free: 7.977 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.02658, allocations: 191.1 kB / 478.7 MB, free: 7.789 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.02783, allocations: 0.819 MB / 479.5 MB, free: 6.965 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.03166, allocations: 2.899 MB / 482.4 MB, free: 4.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.03359, allocations: 1.585 MB / 484 MB, free: 2.492 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005929/0.03952, allocations: 8.596 MB / 492.6 MB, free: 9.871 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.04336, allocations: 4.67 MB / 497.3 MB, free: 5.047 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.04797, allocations: 5.42 MB / 0.4909 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.05073, allocations: 3.642 MB / 0.4945 GB, free: 11.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.05119, allocations: 0.5898 MB / 0.495 GB, free: 11.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.05202, allocations: 0.6809 MB / 0.4957 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.05348, allocations: 2.405 MB / 0.498 GB, free: 8.293 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.05493, allocations: 1.696 MB / 0.4997 GB, free: 6.594 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.05836, allocations: 4.652 MB / 0.5042 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.05837, allocations: 0 / 0.5042 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05837, allocations: 0 / 0.5042 GB, free: 1.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.342e-05/0.05842, allocations: 1.5 kB / 0.5042 GB, free: 1.93 MB / 490.7 MB 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.004672/0.06309, allocations: 5.935 MB / 0.51 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.06312, allocations: 8.875 kB / 0.51 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.06583, allocations: 1.349 MB / 0.5114 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.06822, allocations: 2.373 MB / 0.5137 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.06837, allocations: 319.7 kB / 0.514 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.06875, allocations: 424.3 kB / 0.5144 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.07246, allocations: 4.165 MB / 0.5185 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.07253, allocations: 27.77 kB / 0.5185 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.0728, allocations: 185 kB / 0.5187 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003537/0.07315, allocations: 316.1 kB / 0.519 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.07465, allocations: 1.129 MB / 0.5201 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.08621, allocations: 15.26 MB / 0.535 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.08673, allocations: 494.2 kB / 0.5354 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.08712, allocations: 416.3 kB / 0.5358 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.535e-05/0.08719, allocations: 22.12 kB / 0.5359 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.08722, allocations: 51.88 kB / 0.5359 GB, free: 476 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 2.495e-06/0.08722, allocations: 1.844 kB / 0.5359 GB, free: 476 kB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.006518/0.09374, allocations: 3.926 MB / 0.5397 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.09377, allocations: 65.94 kB / 0.5398 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.09467, allocations: 1.547 MB / 0.5413 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.09473, allocations: 45.7 kB / 0.5414 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/0.09534, allocations: 1.747 MB / 0.5431 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.09557, allocations: 496.8 kB / 0.5435 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.09585, allocations: 307.2 kB / 0.5438 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.09591, allocations: 305.1 kB / 0.5441 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.09617, allocations: 212.9 kB / 0.5443 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.09666, allocations: 0.7681 MB / 0.5451 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.09777, allocations: 1.167 MB / 0.5462 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.09778, allocations: 4 kB / 0.5462 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.001929/0.0997, allocations: 1.644 MB / 0.5478 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.09973, allocations: 12 kB / 0.5478 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.09974, allocations: 20.34 kB / 0.5479 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.1015, allocations: 0.8341 MB / 0.5487 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.1022, allocations: 379.4 kB / 0.549 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/0.1098, allocations: 12.53 MB / 0.5613 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.1106, allocations: 56 kB / 0.5613 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.1106, allocations: 59.98 kB / 0.5614 GB, free: 4.969 MB / 0.5417 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,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.0007617/0.1114, allocations: 236 kB / 0.5616 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.1116, allocations: 195.8 kB / 0.5618 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.1133, allocations: 1.371 MB / 0.5631 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1133, allocations: 12 kB / 0.5632 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1134, allocations: 12 kB / 0.5632 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1134, allocations: 3.984 kB / 0.5632 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.1172, allocations: 2.933 MB / 0.566 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1172, allocations: 4 kB / 0.566 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/0.1179, allocations: 184.2 kB / 0.5662 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.1183, allocations: 306.3 kB / 0.5665 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.1201, allocations: 0.8048 MB / 0.5673 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.1201, allocations: 30.05 kB / 0.5673 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007371/0.1275, allocations: 12.55 MB / 0.5796 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1275, allocations: 8 kB / 0.5796 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.1296, allocations: 1.491 MB / 0.581 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.1299, allocations: 32 kB / 0.5811 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.1303, allocations: 24 kB / 0.5811 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.1306, allocations: 121.5 kB / 0.5812 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.1306, allocations: 32 kB / 0.5812 GB, free: 15.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005698/0.1312, allocations: 0.7701 MB / 0.582 GB, free: 14.67 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1312, allocations: 0 / 0.582 GB, free: 14.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001942/0.1332, allocations: 0.8672 MB / 0.5828 GB, free: 13.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.1333, allocations: 132.1 kB / 0.583 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.1354, allocations: 2.282 MB / 0.5852 GB, free: 11.28 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.093e-05/0.1355, allocations: 45.73 kB / 0.5852 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.1371, allocations: 1.79 MB / 0.587 GB, free: 9.324 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.1389, allocations: 1.074 MB / 0.588 GB, free: 8.301 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/0.1669, allocations: 6.878 MB / 0.5947 GB, free: 1.324 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.1677, allocations: 1.051 MB / 0.5958 GB, free: 260 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001026/0.1688, allocations: 300.4 kB / 0.5961 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.1698, allocations: 0.6785 MB / 0.5967 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of SimCode: time 1.393e-06/0.1698, allocations: 0 / 0.5967 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of Templates: time 0.05611/0.2259, allocations: 49.42 MB / 0.645 GB, free: 15 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.585578477010131]