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.0009289/0.0009289, allocations: 95.08 kB / 16.3 MB, free: 5.996 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.001011/0.001011, allocations: 179.4 kB / 17.2 MB, free: 5.914 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.226/1.226, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2727/0.2727, allocations: 38.08 MB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003152, allocations: 8 kB / 400.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2624, allocations: 59.16 MB / 459.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004944/0.2674, allocations: 5.561 MB / 464.8 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2699, allocations: 1.566 MB / 466.4 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.2703, allocations: 36.31 kB / 466.4 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.2707, allocations: 119.1 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.2716, allocations: 335.1 kB / 466.8 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.2721, allocations: 164.1 kB / 467 MB, free: 24.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000498/0.2726, allocations: 389.6 kB / 467.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2728, allocations: 145.1 kB / 467.5 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.2732, allocations: 245.8 kB / 467.8 MB, free: 24.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2736, allocations: 255.4 kB / 468 MB, free: 24.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.2737, allocations: 20.81 kB / 468 MB, free: 24.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.2738, allocations: 20.78 kB / 468 MB, free: 24.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2739, allocations: 159.5 kB / 468.2 MB, free: 24.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.274, allocations: 111.3 kB / 468.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.2745, allocations: 396.2 kB / 468.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2745, allocations: 0 / 468.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2745, allocations: 0 / 468.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2745, allocations: 1.094 kB / 468.7 MB, free: 24.11 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.001052/0.2756, allocations: 0.7271 MB / 469.4 MB, free: 23.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2756, allocations: 8.719 kB / 469.4 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.9e-05/0.2757, allocations: 83.66 kB / 469.5 MB, free: 23.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.2758, allocations: 56.22 kB / 469.6 MB, free: 23.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.2765, allocations: 451.5 kB / 470 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2765, allocations: 28.38 kB / 470 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.2766, allocations: 41.41 kB / 470.1 MB, free: 23.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.2772, allocations: 0.4948 MB / 470.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2772, allocations: 1.25 kB / 470.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2773, allocations: 19.48 kB / 470.6 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.2773, allocations: 18.8 kB / 470.6 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.2778, allocations: 367.8 kB / 471 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2799, allocations: 2.087 MB / 473.1 MB, free: 21.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2803, allocations: 239.7 kB / 473.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2804, allocations: 2.875 kB / 473.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2804, allocations: 42.14 kB / 473.3 MB, free: 20.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.2804, allocations: 1.438 kB / 473.3 MB, free: 20.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001203/0.2816, allocations: 0.9404 MB / 474.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2816, allocations: 85.67 kB / 474.4 MB, free: 20.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.282, allocations: 376 kB / 474.7 MB, free: 19.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.282, allocations: 30.77 kB / 474.8 MB, free: 19.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.2822, allocations: 295.4 kB / 475 MB, free: 19.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.2822, allocations: 77.73 kB / 475.1 MB, free: 19.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.2822, allocations: 9.594 kB / 475.1 MB, free: 19.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.2823, allocations: 353.7 kB / 475.5 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2824, allocations: 88.7 kB / 475.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2827, allocations: 275.3 kB / 475.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.2828, allocations: 137.1 kB / 476 MB, free: 18.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2829, allocations: 1.812 kB / 476 MB, free: 18.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005997/0.2835, allocations: 464.9 kB / 476.4 MB, free: 18.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2835, allocations: 13.11 kB / 476.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2835, allocations: 6.875 kB / 476.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.2837, allocations: 74 kB / 476.5 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2839, allocations: 82.84 kB / 476.6 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.285, allocations: 1.604 MB / 478.2 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2853, allocations: 21.64 kB / 478.2 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2853, allocations: 17.88 kB / 478.2 MB, free: 17.21 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 (45): * Single equations (assignments): 44 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2855, allocations: 199.7 kB / 478.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.2856, allocations: 41.83 kB / 478.5 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.286, allocations: 344.3 kB / 478.8 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.286, allocations: 3.906 kB / 478.8 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.286, allocations: 0.5156 kB / 478.8 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2861, allocations: 2.422 kB / 478.8 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.2869, allocations: 0.7878 MB / 479.6 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2869, allocations: 1.844 kB / 479.6 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.2871, allocations: 42.67 kB / 479.6 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.98e-05/0.2872, allocations: 23.23 kB / 479.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2872, allocations: 9.406 kB / 479.7 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005939/0.2878, allocations: 1.38 MB / 481.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2878, allocations: 5.297 kB / 481.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.2883, allocations: 0.5531 MB / 481.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2885, allocations: 121.3 kB / 481.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.2885, allocations: 7.031 kB / 481.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2887, allocations: 7.438 kB / 481.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.2887, allocations: 20.23 kB / 481.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2887, allocations: 6.047 kB / 481.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.289, allocations: 254.3 kB / 482 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.289, allocations: 0 / 482 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.2895, allocations: 92.66 kB / 482.1 MB, free: 14.12 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006102/0.2901, allocations: 1.247 MB / 483.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.2907, allocations: 386.1 kB / 483.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2907, allocations: 0 / 483.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2909, allocations: 220.8 kB / 484 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2913, allocations: 91.33 kB / 484 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.2948, allocations: 6.676 MB / 490.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2951, allocations: 0.87 MB / 491.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.2954, allocations: 84.97 kB / 491.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2955, allocations: 146.3 kB / 491.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2955, allocations: 3.938 kB / 491.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.3125, allocations: 7.353 MB / 499.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.3128, allocations: 214.3 kB / 499.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.132, allocations: 0 / 499.4 MB, free: 14.73 MB / 366.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