Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001731/0.001731, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001657/0.001657, allocations: 209.9 kB / 23.73 MB, free: 4.41 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1928/0.1928, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: PowerSystems 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.002428/0.002428, allocations: 63.91 kB / 493 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3825, allocations: 62.47 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007682/0.3902, allocations: 4.608 MB / 0.5469 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.3928, allocations: 1.28 MB / 0.5482 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.3931, allocations: 16.69 kB / 0.5482 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.3944, allocations: 390.9 kB / 0.5486 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.395, allocations: 249.4 kB / 0.5488 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3955, allocations: 178 kB / 0.549 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000704/0.3962, allocations: 0.5474 MB / 0.5495 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.3967, allocations: 264.7 kB / 0.5498 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.3972, allocations: 264.8 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.3977, allocations: 281.1 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.3977, allocations: 35.69 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.3981, allocations: 132 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3983, allocations: 187 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.3986, allocations: 179.4 kB / 0.5508 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.3993, allocations: 0.5339 MB / 0.5513 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3993, allocations: 5.094 kB / 0.5513 GB, free: 9.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3993, allocations: 0 / 0.5513 GB, free: 9.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3993, allocations: 0 / 0.5513 GB, free: 9.863 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001321/0.4007, allocations: 0.653 MB / 0.5519 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4007, allocations: 12.42 kB / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.4014, allocations: 84.62 kB / 0.552 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.4022, allocations: 362.1 kB / 0.5524 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.4022, allocations: 27.17 kB / 0.5524 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4024, allocations: 48.83 kB / 0.5525 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.4032, allocations: 478.9 kB / 0.5529 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4032, allocations: 1.188 kB / 0.5529 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.4032, allocations: 15.45 kB / 0.5529 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.4034, allocations: 36.91 kB / 0.553 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.4039, allocations: 339.9 kB / 0.5533 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.4063, allocations: 1.414 MB / 0.5547 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.4067, allocations: 164.3 kB / 0.5548 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.4069, allocations: 109.3 kB / 0.5549 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4069, allocations: 7.25 kB / 0.5549 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.407, allocations: 36.86 kB / 0.555 GB, free: 7.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/0.407, allocations: 0 / 0.555 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001468/0.4084, allocations: 0.7159 MB / 0.5557 GB, free: 6.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.4085, allocations: 77.11 kB / 0.5557 GB, free: 6.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.4088, allocations: 304.6 kB / 0.556 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4088, allocations: 29.7 kB / 0.5561 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.4091, allocations: 264 kB / 0.5563 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.4091, allocations: 71.38 kB / 0.5564 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4092, allocations: 61.69 kB / 0.5564 GB, free: 5.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4094, allocations: 338.8 kB / 0.5568 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4096, allocations: 99.88 kB / 0.5569 GB, free: 5.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.4098, allocations: 200.8 kB / 0.5571 GB, free: 4.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.4103, allocations: 332.4 kB / 0.5574 GB, free: 4.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4103, allocations: 0 / 0.5574 GB, free: 4.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008976/0.4112, allocations: 424 kB / 0.5578 GB, free: 4.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4112, allocations: 8 kB / 0.5578 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005419/0.4118, allocations: 260.7 kB / 0.558 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.4122, allocations: 84.78 kB / 0.5581 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.4124, allocations: 63.91 kB / 0.5582 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.4143, allocations: 1.581 MB / 0.5597 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.4145, allocations: 12.05 kB / 0.5597 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.4145, allocations: 20 kB / 0.5597 GB, free: 2.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.4148, allocations: 189.6 kB / 0.5599 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.4149, allocations: 31.81 kB / 0.56 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.4153, allocations: 270.2 kB / 0.5602 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4153, allocations: 0 / 0.5602 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4153, allocations: 4 kB / 0.5602 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4154, allocations: 0 / 0.5602 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4165, allocations: 0.644 MB / 0.5609 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4165, allocations: 0 / 0.5609 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.4168, allocations: 51.97 kB / 0.5609 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4168, allocations: 0 / 0.5609 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4168, allocations: 4 kB / 0.5609 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.4168, allocations: 7.984 kB / 0.5609 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4168, allocations: 0 / 0.5609 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.4174, allocations: 463.9 kB / 0.5614 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.4175, allocations: 31.91 kB / 0.5614 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.4176, allocations: 15.94 kB / 0.5614 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4177, allocations: 4 kB / 0.5614 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.4178, allocations: 23.91 kB / 0.5614 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.4178, allocations: 8 kB / 0.5614 GB, free: 208 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.418, allocations: 215 kB / 0.5616 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.418, allocations: 0 / 0.5616 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.4184, allocations: 84 kB / 0.5617 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.4186, allocations: 107.1 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.4193, allocations: 366.3 kB / 0.5622 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4193, allocations: 4 kB / 0.5622 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4194, allocations: 95.83 kB / 0.5623 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.4199, allocations: 66.06 kB / 0.5623 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.4216, allocations: 0.9192 MB / 0.5632 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4219, allocations: 245.3 kB / 0.5635 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.4221, allocations: 74.89 kB / 0.5635 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.4222, allocations: 27.44 kB / 0.5636 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4222, allocations: 0 / 0.5636 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Templates: time 0.009682/0.4319, allocations: 4.027 MB / 0.5675 GB, free: 9.973 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324875358492136] Failed to read output from testmodel.py, exit status != 0: 0.4415876045823097 0.45706171399999995 0.05431333199999994 Calling exit ...