Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001014/0.001014, allocations: 93.81 kB / 16.3 MB, free: 5.629 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.000914/0.0009141, allocations: 186.6 kB / 17.2 MB, free: 5.562 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.295/1.295, allocations: 223.2 MB / 241.1 MB, free: 5.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.292/0.292, allocations: 38.09 MB / 330.3 MB, free: 14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 400.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 59.17 MB / 459.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004849/0.2607, allocations: 4.424 MB / 463.6 MB, free: 27.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.2631, allocations: 1.42 MB / 465.1 MB, free: 26.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.2634, allocations: 34.34 kB / 465.1 MB, free: 26.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.2637, allocations: 92.83 kB / 465.2 MB, free: 26.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.2644, allocations: 217.6 kB / 465.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2649, allocations: 163 kB / 465.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.2653, allocations: 282.1 kB / 465.8 MB, free: 25.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.2661, allocations: 0.5224 MB / 466.4 MB, free: 25.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.2665, allocations: 184.8 kB / 466.5 MB, free: 25.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.2668, allocations: 173.2 kB / 466.7 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.2669, allocations: 16.47 kB / 466.7 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.2671, allocations: 77.91 kB / 466.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.2673, allocations: 161.5 kB / 467 MB, free: 25.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.2674, allocations: 105.9 kB / 467.1 MB, free: 25.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.2679, allocations: 388.2 kB / 467.4 MB, free: 25.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2679, allocations: 3.938 kB / 467.4 MB, free: 25.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2679, allocations: 4 kB / 467.4 MB, free: 25.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2679, allocations: 0 / 467.4 MB, free: 25.27 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009634/0.2689, allocations: 0.6347 MB / 468.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2689, allocations: 9.562 kB / 468.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.269, allocations: 72.97 kB / 468.2 MB, free: 24.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.2696, allocations: 85.69 kB / 468.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.2702, allocations: 392.3 kB / 468.6 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2703, allocations: 26.55 kB / 468.7 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2704, allocations: 47.2 kB / 468.7 MB, free: 24.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.2711, allocations: 470 kB / 469.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2712, allocations: 1.922 kB / 469.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.2712, allocations: 15.38 kB / 469.2 MB, free: 24.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.2713, allocations: 28.05 kB / 469.2 MB, free: 24.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.2719, allocations: 345.6 kB / 469.5 MB, free: 23.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.2743, allocations: 1.736 MB / 471.3 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2746, allocations: 147.3 kB / 471.4 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2747, allocations: 2.375 kB / 471.4 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2747, allocations: 40.19 kB / 471.5 MB, free: 22.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.2747, allocations: 1.125 kB / 471.5 MB, free: 22.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001643/0.2764, allocations: 0.8741 MB / 472.3 MB, free: 22.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2764, allocations: 87.02 kB / 472.4 MB, free: 21.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.2768, allocations: 313.7 kB / 472.7 MB, free: 21.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2768, allocations: 33.64 kB / 472.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2769, allocations: 253 kB / 473 MB, free: 21.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.277, allocations: 62.11 kB / 473.1 MB, free: 21.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.277, allocations: 5.438 kB / 473.1 MB, free: 21.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.2771, allocations: 339.8 kB / 473.4 MB, free: 21.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2773, allocations: 98.56 kB / 473.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.2775, allocations: 202.8 kB / 473.7 MB, free: 20.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2777, allocations: 136.7 kB / 473.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2777, allocations: 0 / 473.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009699/0.2787, allocations: 481.2 kB / 474.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2787, allocations: 6.438 kB / 474.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006292/0.2794, allocations: 311.2 kB / 474.6 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.2799, allocations: 136.9 kB / 474.8 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2801, allocations: 53.34 kB / 474.8 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.2826, allocations: 2.361 MB / 477.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.2829, allocations: 11.38 kB / 477.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2829, allocations: 14.19 kB / 477.2 MB, free: 18.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.2832, allocations: 188.6 kB / 477.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.2832, allocations: 32.84 kB / 477.4 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.2836, allocations: 263.5 kB / 477.7 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2837, allocations: 7.078 kB / 477.7 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2837, allocations: 0 / 477.7 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2837, allocations: 1.375 kB / 477.7 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2847, allocations: 0.7406 MB / 478.4 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2847, allocations: 5.25 kB / 478.4 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2849, allocations: 42.5 kB / 478.5 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.885e-05/0.285, allocations: 36.48 kB / 478.5 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2851, allocations: 7.344 kB / 478.5 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2851, allocations: 1.594 kB / 478.5 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2851, allocations: 5.641 kB / 478.5 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.2855, allocations: 483 kB / 479 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.2856, allocations: 101.4 kB / 479.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2857, allocations: 7.812 kB / 479.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2858, allocations: 7.469 kB / 479.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.2859, allocations: 18.39 kB / 479.1 MB, free: 17.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2859, allocations: 4.156 kB / 479.1 MB, free: 17.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2861, allocations: 218.2 kB / 479.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2861, allocations: 0 / 479.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.2865, allocations: 91.05 kB / 479.4 MB, free: 17.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/0.2872, allocations: 1.211 MB / 480.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.2878, allocations: 413 kB / 481 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2878, allocations: 0 / 481 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2879, allocations: 176.7 kB / 481.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2883, allocations: 69.02 kB / 481.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.2914, allocations: 4.481 MB / 485.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2917, allocations: 0.8579 MB / 486.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.2919, allocations: 64.44 kB / 486.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.292, allocations: 119.9 kB / 486.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.292, allocations: 0 / 486.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.3088, allocations: 6.871 MB / 493.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.309, allocations: 221.7 kB / 493.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.027, allocations: 0 / 493.9 MB, free: 4.445 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat does not exist to compare? outputFormat=mat