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.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.001573/0.001573, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001739/0.001739, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1787/0.1787, allocations: 38.53 MB / 353.2 MB, free: 12.53 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.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: 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.001962/0.001962, allocations: 71.89 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.291, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007106/0.2981, allocations: 5.68 MB / 0.5488 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3006, allocations: 1.42 MB / 0.5502 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.301, allocations: 27.56 kB / 0.5502 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.3015, allocations: 139.9 kB / 0.5503 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3025, allocations: 388.2 kB / 0.5507 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3029, allocations: 154.2 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3039, allocations: 0.7744 MB / 0.5516 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3042, allocations: 141.8 kB / 0.5517 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006741/0.3049, allocations: 360.7 kB / 0.5521 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.3057, allocations: 424.4 kB / 0.5525 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.3058, allocations: 40.5 kB / 0.5525 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3059, allocations: 39.56 kB / 0.5526 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.3062, allocations: 210.2 kB / 0.5528 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3066, allocations: 283.7 kB / 0.553 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.3073, allocations: 0.5781 MB / 0.5536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3073, allocations: 0 / 0.5536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3073, allocations: 1.344 kB / 0.5536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.3074, allocations: 0 / 0.5536 GB, free: 8.777 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.00175/0.3091, allocations: 0.8302 MB / 0.5544 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3091, allocations: 17.97 kB / 0.5544 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3093, allocations: 61.41 kB / 0.5545 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.3102, allocations: 457.9 kB / 0.5549 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.3103, allocations: 33.84 kB / 0.555 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.3104, allocations: 39.25 kB / 0.555 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.3112, allocations: 0.5345 MB / 0.5555 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3112, allocations: 4.938 kB / 0.5555 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.3113, allocations: 16.47 kB / 0.5555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.3113, allocations: 21.92 kB / 0.5556 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.312, allocations: 389.1 kB / 0.5559 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3146, allocations: 1.886 MB / 0.5578 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.3152, allocations: 324.8 kB / 0.5581 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.3155, allocations: 161.7 kB / 0.5582 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3155, allocations: 8.25 kB / 0.5582 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.3159, allocations: 276.8 kB / 0.5585 GB, free: 4.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.3159, allocations: 0 / 0.5585 GB, free: 4.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00187/0.3178, allocations: 1.14 MB / 0.5596 GB, free: 3.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3179, allocations: 166.2 kB / 0.5598 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.3183, allocations: 397.8 kB / 0.5602 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3184, allocations: 33.7 kB / 0.5602 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.3186, allocations: 292.3 kB / 0.5605 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3187, allocations: 130.9 kB / 0.5606 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3188, allocations: 94.12 kB / 0.5607 GB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.319, allocations: 358.8 kB / 0.561 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3192, allocations: 128.9 kB / 0.5611 GB, free: 1.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.3195, allocations: 285.5 kB / 0.5614 GB, free: 1.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.3201, allocations: 481.3 kB / 0.5619 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3201, allocations: 0 / 0.5619 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007713/0.3209, allocations: 0.522 MB / 0.5624 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.321, allocations: 37.69 kB / 0.5624 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.321, allocations: 8 kB / 0.5624 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.321, allocations: 8 kB / 0.5624 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.3214, allocations: 103.8 kB / 0.5625 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.3214, allocations: 15.92 kB / 0.5625 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3217, allocations: 20.34 kB / 0.5626 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.3217, allocations: 39.97 kB / 0.5626 GB, free: 4 kB / 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.0002814/0.322, allocations: 243.4 kB / 0.5628 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.3221, allocations: 47.66 kB / 0.5629 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.3228, allocations: 459.4 kB / 0.5633 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3228, allocations: 4 kB / 0.5633 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3228, allocations: 0 / 0.5633 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3228, allocations: 3.938 kB / 0.5633 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.3241, allocations: 0.95 MB / 0.5643 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3242, allocations: 0 / 0.5643 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.3245, allocations: 63.91 kB / 0.5643 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3245, allocations: 0 / 0.5643 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3245, allocations: 15.98 kB / 0.5643 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3245, allocations: 3.984 kB / 0.5643 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3245, allocations: 4.062 kB / 0.5643 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009683/0.3255, allocations: 0.7076 MB / 0.565 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3256, allocations: 67.72 kB / 0.5651 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.3257, allocations: 12 kB / 0.5651 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3259, allocations: 16.05 kB / 0.5651 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.326, allocations: 31.89 kB / 0.5652 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.326, allocations: 35.95 kB / 0.5652 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.3263, allocations: 267.1 kB / 0.5654 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3263, allocations: 0 / 0.5654 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000435/0.3267, allocations: 104 kB / 0.5655 GB, free: 12.87 MB / 414.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.0001225/0.3269, allocations: 107.2 kB / 0.5656 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.3275, allocations: 402.6 kB / 0.566 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3275, allocations: 0 / 0.566 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.3278, allocations: 220.6 kB / 0.5662 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.3284, allocations: 108.6 kB / 0.5663 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3301, allocations: 1.037 MB / 0.5674 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.3307, allocations: 0.8974 MB / 0.5682 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3308, allocations: 35.44 kB / 0.5683 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3308, allocations: 0 / 0.5683 GB, free: 9.977 MB / 414.1 MB Notification: Performance of Templates: time 0.01012/0.3409, allocations: 5.966 MB / 0.5741 GB, free: 4.031 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: 7.819611442042515] Failed to read output from testmodel.py, exit status != 0: 0.3499631672166288 0.365578956 0.055026811 Calling exit ...