Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 82.94 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 181.6 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3321/0.3321, allocations: 38.07 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 8 kB / 400.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3375, allocations: 59.15 MB / 459.3 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00718/0.3447, allocations: 5.803 MB / 465.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.3481, allocations: 1.548 MB / 466.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.3486, allocations: 36 kB / 466.7 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.3491, allocations: 127.1 kB / 466.8 MB, free: 24.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3502, allocations: 404.4 kB / 467.2 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.3507, allocations: 161.7 kB / 467.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.352, allocations: 0.91 MB / 468.3 MB, free: 24.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3523, allocations: 145.1 kB / 468.4 MB, free: 24.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.3528, allocations: 287.7 kB / 468.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.3535, allocations: 374.8 kB / 469.1 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.3536, allocations: 20.81 kB / 469.1 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.3537, allocations: 20.06 kB / 469.1 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.3539, allocations: 175.4 kB / 469.3 MB, free: 24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.354, allocations: 111.2 kB / 469.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.3546, allocations: 395.4 kB / 469.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3546, allocations: 0.75 kB / 469.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3546, allocations: 1.312 kB / 469.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3546, allocations: 4 kB / 469.8 MB, free: 23.83 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001129/0.3558, allocations: 0.7255 MB / 470.5 MB, free: 23.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3558, allocations: 13.47 kB / 470.5 MB, free: 23.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.615e-05/0.3559, allocations: 79.38 kB / 470.6 MB, free: 23.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.356, allocations: 52.62 kB / 470.7 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.3566, allocations: 452.4 kB / 471.1 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3567, allocations: 28.91 kB / 471.1 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.3568, allocations: 41.5 kB / 471.2 MB, free: 22.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.3575, allocations: 0.4963 MB / 471.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3576, allocations: 1.031 kB / 471.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3576, allocations: 15.44 kB / 471.7 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.3576, allocations: 21.75 kB / 471.7 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.3582, allocations: 361.4 kB / 472.1 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3605, allocations: 2.094 MB / 474.2 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.3609, allocations: 243.3 kB / 474.4 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3611, allocations: 127.2 kB / 474.5 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3612, allocations: 4.188 kB / 474.5 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3612, allocations: 44.48 kB / 474.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3612, allocations: 3.938 kB / 474.6 MB, free: 20.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001105/0.3623, allocations: 0.7566 MB / 475.3 MB, free: 20.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3624, allocations: 83.86 kB / 475.4 MB, free: 20.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.3628, allocations: 375.5 kB / 475.8 MB, free: 19.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3628, allocations: 27.97 kB / 475.8 MB, free: 19.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.363, allocations: 296.7 kB / 476.1 MB, free: 19.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.363, allocations: 77.02 kB / 476.2 MB, free: 19.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.363, allocations: 9.5 kB / 476.2 MB, free: 19.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.3631, allocations: 352.9 kB / 476.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3633, allocations: 87.7 kB / 476.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3635, allocations: 272.3 kB / 476.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3637, allocations: 136.1 kB / 477 MB, free: 18.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3637, allocations: 5.344 kB / 477 MB, free: 18.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007085/0.3644, allocations: 461 kB / 477.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3645, allocations: 7.562 kB / 477.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3645, allocations: 6.031 kB / 477.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.3646, allocations: 51.98 kB / 477.5 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3649, allocations: 90.61 kB / 477.6 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.3659, allocations: 1.479 MB / 479.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.3661, allocations: 20.78 kB / 479.1 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3662, allocations: 21.5 kB / 479.1 MB, free: 17.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.3664, allocations: 209 kB / 479.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.3665, allocations: 41.12 kB / 479.4 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3668, allocations: 232.2 kB / 479.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3669, allocations: 2.188 kB / 479.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3669, allocations: 4.875 kB / 479.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3669, allocations: 5.047 kB / 479.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.3676, allocations: 0.6784 MB / 480.3 MB, free: 16.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3677, allocations: 3.984 kB / 480.3 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.3679, allocations: 50.22 kB / 480.3 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3679, allocations: 1.438 kB / 480.3 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3679, allocations: 9.234 kB / 480.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3679, allocations: 2.562 kB / 480.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3679, allocations: 9.016 kB / 480.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.3684, allocations: 437.5 kB / 480.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.3685, allocations: 119.1 kB / 480.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3685, allocations: 4 kB / 480.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3686, allocations: 7.5 kB / 480.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3687, allocations: 19.02 kB / 480.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3687, allocations: 11.56 kB / 481 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.3689, allocations: 247.9 kB / 481.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3689, allocations: 4 kB / 481.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.3694, allocations: 94.66 kB / 481.3 MB, free: 15.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006138/0.37, allocations: 0.9682 MB / 482.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.3706, allocations: 393.1 kB / 482.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3706, allocations: 448 / 482.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3708, allocations: 105.1 kB / 482.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.3713, allocations: 83.95 kB / 482.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.3745, allocations: 2.455 MB / 485.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3748, allocations: 0.8561 MB / 486.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.3751, allocations: 83.06 kB / 486.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3753, allocations: 146.3 kB / 486.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3753, allocations: 0 / 486.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.3944, allocations: 7.224 MB / 493.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.3947, allocations: 219.5 kB / 493.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.317, allocations: 0 / 493.8 MB, free: 4.609 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat does not exist to compare? outputFormat=mat