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.001373/0.001373, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001498/0.001498, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1846/0.1846, allocations: 38.52 MB / 353.2 MB, free: 12.55 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [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.002126/0.002126, allocations: 63.89 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3312, allocations: 62.45 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007144/0.3383, allocations: 5.699 MB / 0.5483 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3407, allocations: 1.4 MB / 0.5497 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.341, allocations: 27.38 kB / 0.5497 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.3414, allocations: 144.3 kB / 0.5499 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008742/0.3423, allocations: 391.3 kB / 0.5502 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.3426, allocations: 150.9 kB / 0.5504 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008402/0.3434, allocations: 0.7777 MB / 0.5511 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.3437, allocations: 144.8 kB / 0.5513 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.3442, allocations: 362.1 kB / 0.5516 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006667/0.3449, allocations: 425 kB / 0.552 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.345, allocations: 42.91 kB / 0.5521 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.345, allocations: 40.16 kB / 0.5521 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3453, allocations: 209.7 kB / 0.5523 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3456, allocations: 276.7 kB / 0.5526 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.3463, allocations: 0.578 MB / 0.5531 GB, free: 8.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3463, allocations: 0 / 0.5531 GB, free: 8.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3463, allocations: 0 / 0.5531 GB, free: 8.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3463, allocations: 1.031 kB / 0.5531 GB, free: 8.621 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.001535/0.3478, allocations: 0.8386 MB / 0.554 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3479, allocations: 13.7 kB / 0.554 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.443e-05/0.3479, allocations: 10.75 kB / 0.554 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.533e-05/0.348, allocations: 87.27 kB / 0.5541 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3481, allocations: 61.41 kB / 0.5541 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.3489, allocations: 454.7 kB / 0.5546 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3489, allocations: 28.97 kB / 0.5546 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.349, allocations: 42.67 kB / 0.5546 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.3499, allocations: 0.5305 MB / 0.5551 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3499, allocations: 1.531 kB / 0.5551 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.3499, allocations: 16.25 kB / 0.5552 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.35, allocations: 30.45 kB / 0.5552 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.3506, allocations: 391.9 kB / 0.5556 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.3531, allocations: 1.886 MB / 0.5574 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.3537, allocations: 321 kB / 0.5577 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.3541, allocations: 157.7 kB / 0.5579 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3541, allocations: 12.19 kB / 0.5579 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.3545, allocations: 276.8 kB / 0.5581 GB, free: 4.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.3545, allocations: 0 / 0.5581 GB, free: 4.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001948/0.3565, allocations: 1.129 MB / 0.5592 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.3566, allocations: 170.2 kB / 0.5594 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.357, allocations: 397.8 kB / 0.5598 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.3571, allocations: 33.7 kB / 0.5598 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.3573, allocations: 292.3 kB / 0.5601 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3574, allocations: 130.9 kB / 0.5602 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3576, allocations: 98.27 kB / 0.5603 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3578, allocations: 362.8 kB / 0.5607 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.358, allocations: 120.9 kB / 0.5608 GB, free: 1.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.3583, allocations: 281.5 kB / 0.561 GB, free: 1.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.359, allocations: 489.2 kB / 0.5615 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.359, allocations: 3.938 kB / 0.5615 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008233/0.3598, allocations: 0.5255 MB / 0.562 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3598, allocations: 36.52 kB / 0.5621 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3599, allocations: 4 kB / 0.5621 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3599, allocations: 8.688 kB / 0.5621 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3603, allocations: 111.8 kB / 0.5622 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3603, allocations: 8 kB / 0.5622 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3606, allocations: 23.98 kB / 0.5622 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.3607, allocations: 35.97 kB / 0.5622 GB, free: 0 / 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.0003063/0.361, allocations: 247.2 kB / 0.5625 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.361, allocations: 43.72 kB / 0.5625 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.3618, allocations: 459.4 kB / 0.563 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3618, allocations: 8 kB / 0.563 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3618, allocations: 0 / 0.563 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3618, allocations: 0 / 0.563 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3633, allocations: 0.9424 MB / 0.5639 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3633, allocations: 0 / 0.5639 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3636, allocations: 63.89 kB / 0.5639 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3636, allocations: 8.062 kB / 0.5639 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3636, allocations: 12 kB / 0.564 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3636, allocations: 4 kB / 0.564 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3636, allocations: 3.938 kB / 0.564 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3646, allocations: 0.7115 MB / 0.5647 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3648, allocations: 63.69 kB / 0.5647 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.3648, allocations: 8 kB / 0.5647 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.365, allocations: 20.05 kB / 0.5648 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.3651, allocations: 27.89 kB / 0.5648 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.3652, allocations: 39.88 kB / 0.5648 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3655, allocations: 271.1 kB / 0.5651 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 0.5651 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.3659, allocations: 100.1 kB / 0.5652 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.001315/0.3672, allocations: 1.271 MB / 0.5664 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.3679, allocations: 391.2 kB / 0.5668 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3679, allocations: 0 / 0.5668 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.3682, allocations: 224.6 kB / 0.567 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.3688, allocations: 109.6 kB / 0.5671 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.3743, allocations: 4.134 MB / 0.5711 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.3749, allocations: 0.882 MB / 0.572 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.3752, allocations: 84.31 kB / 0.5721 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.3754, allocations: 179.4 kB / 0.5723 GB, free: 5.266 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3754, allocations: 0 / 0.5723 GB, free: 5.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.4105, allocations: 9.188 MB / 0.5812 GB, free: 12.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.69, allocations: 19.03 kB / 0.5812 GB, free: 12.23 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.687252666975837] Failed to read output from testmodel.py, exit status != 0: 12.856656351010315 12.88026709 12.529236936 Calling exit ...