Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1848/0.1848, allocations: 38.53 MB / 344.5 MB, free: 2.551 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 61.24 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006484/0.3176, allocations: 5.65 MB / 0.5361 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3197, allocations: 1.377 MB / 0.5374 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.32, allocations: 18.78 kB / 0.5374 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.3204, allocations: 135.8 kB / 0.5376 GB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.3212, allocations: 387.5 kB / 0.5379 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3215, allocations: 157.9 kB / 0.5381 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.3224, allocations: 0.778 MB / 0.5389 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3227, allocations: 140.8 kB / 0.539 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.3232, allocations: 353.9 kB / 0.5393 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006373/0.3239, allocations: 423.7 kB / 0.5397 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.142e-05/0.3239, allocations: 40.06 kB / 0.5398 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.324, allocations: 40.72 kB / 0.5398 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.3243, allocations: 205.2 kB / 0.54 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.3246, allocations: 268.8 kB / 0.5403 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.3253, allocations: 0.5933 MB / 0.5408 GB, free: 14.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3253, allocations: 4 kB / 0.5408 GB, free: 14.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3253, allocations: 0 / 0.5408 GB, free: 14.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3253, allocations: 1.156 kB / 0.5408 GB, free: 14.27 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001647/0.3269, allocations: 0.9099 MB / 0.5417 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.327, allocations: 12.42 kB / 0.5417 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3271, allocations: 66.27 kB / 0.5418 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.328, allocations: 0.5117 MB / 0.5423 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.328, allocations: 33.78 kB / 0.5423 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.3281, allocations: 42.75 kB / 0.5424 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.3289, allocations: 0.5314 MB / 0.5429 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3289, allocations: 0 / 0.5429 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.329, allocations: 17.41 kB / 0.5429 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.329, allocations: 26 kB / 0.5429 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.3297, allocations: 392 kB / 0.5433 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.3323, allocations: 1.923 MB / 0.5452 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.3329, allocations: 320.3 kB / 0.5455 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.3332, allocations: 160.3 kB / 0.5456 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3333, allocations: 3.281 kB / 0.5457 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.3337, allocations: 281 kB / 0.5459 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.3337, allocations: 4 kB / 0.5459 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002132/0.3359, allocations: 1.195 MB / 0.5471 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.336, allocations: 168.5 kB / 0.5473 GB, free: 9.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.3364, allocations: 399.3 kB / 0.5476 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3365, allocations: 31.67 kB / 0.5477 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.3367, allocations: 303.7 kB / 0.548 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3368, allocations: 119.8 kB / 0.5481 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.337, allocations: 94.72 kB / 0.5482 GB, free: 8.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3372, allocations: 354.8 kB / 0.5485 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3374, allocations: 126.6 kB / 0.5486 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.3377, allocations: 284.7 kB / 0.5489 GB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.3383, allocations: 492.2 kB / 0.5494 GB, free: 7.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3383, allocations: 5.031 kB / 0.5494 GB, free: 7.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000773/0.3391, allocations: 0.518 MB / 0.5499 GB, free: 7.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3391, allocations: 38.03 kB / 0.5499 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3391, allocations: 6.625 kB / 0.5499 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3392, allocations: 7.5 kB / 0.5499 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.3396, allocations: 108.5 kB / 0.55 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3396, allocations: 13.05 kB / 0.55 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.3399, allocations: 18.88 kB / 0.5501 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.3399, allocations: 34.91 kB / 0.5501 GB, free: 7.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.3402, allocations: 255.1 kB / 0.5503 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.3403, allocations: 54.11 kB / 0.5504 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.341, allocations: 460.6 kB / 0.5508 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.341, allocations: 5.125 kB / 0.5508 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.341, allocations: 0 / 0.5508 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.341, allocations: 1.406 kB / 0.5508 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3424, allocations: 0.9809 MB / 0.5518 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3424, allocations: 1.094 kB / 0.5518 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.3427, allocations: 63 kB / 0.5518 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3427, allocations: 2.375 kB / 0.5518 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3428, allocations: 14.17 kB / 0.5519 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3428, allocations: 2.438 kB / 0.5519 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3428, allocations: 3.938 kB / 0.5519 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.3437, allocations: 0.7135 MB / 0.5526 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.3439, allocations: 148.7 kB / 0.5527 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.344, allocations: 8 kB / 0.5527 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.3442, allocations: 15.98 kB / 0.5527 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.3443, allocations: 27.91 kB / 0.5528 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.3443, allocations: 35.91 kB / 0.5528 GB, free: 5.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3446, allocations: 267.1 kB / 0.553 GB, free: 4.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 0.553 GB, free: 4.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3451, allocations: 108.1 kB / 0.5531 GB, free: 4.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001367/0.3452, allocations: 114.3 kB / 0.5533 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.3459, allocations: 388 kB / 0.5536 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3459, allocations: 320 / 0.5536 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.3462, allocations: 227.2 kB / 0.5538 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.3468, allocations: 109.4 kB / 0.5539 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3485, allocations: 0.9911 MB / 0.5549 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.349, allocations: 0.8858 MB / 0.5558 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.3493, allocations: 88.31 kB / 0.5559 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.3494, allocations: 35.44 kB / 0.5559 GB, free: 1.844 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3494, allocations: 4 kB / 0.5559 GB, free: 1.84 MB / 398.1 MB Notification: Performance of Templates: time 0.009798/0.3592, allocations: 4.503 MB / 0.5603 GB, free: 13.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.799882243387401]