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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.00143, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.2 MB / 219.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.0008792, allocations: 78.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1774/0.1774, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.127e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 56.31 MB / 474.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5032, allocations: 96.31 MB / 0.5571 GB, free: 6.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5035, allocations: 90.5 kB / 0.5572 GB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03449/0.538, allocations: 12.52 MB / 0.5694 GB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5381, allocations: 0 / 0.5694 GB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.5381, allocations: 8 kB / 0.5694 GB, free: 11.6 MB / 378.7 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.001185/0.5393, allocations: 0.6178 MB / 0.57 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5394, allocations: 12.03 kB / 0.57 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.5395, allocations: 71.84 kB / 0.5701 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/0.5402, allocations: 99.36 kB / 0.5702 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.5426, allocations: 0.8535 MB / 0.571 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5427, allocations: 26.59 kB / 0.571 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.5427, allocations: 30.06 kB / 0.5711 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007704/0.5435, allocations: 464.6 kB / 0.5715 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.5436, allocations: 8 kB / 0.5715 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.5436, allocations: 15.45 kB / 0.5715 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.5437, allocations: 20.66 kB / 0.5715 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.5442, allocations: 342.2 kB / 0.5719 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.5466, allocations: 1.719 MB / 0.5736 GB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5469, allocations: 145.8 kB / 0.5737 GB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.5471, allocations: 105.8 kB / 0.5738 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.5471, allocations: 11.94 kB / 0.5738 GB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5471, allocations: 34.12 kB / 0.5738 GB, free: 7.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.5471, allocations: 3.938 kB / 0.5738 GB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001268/0.5484, allocations: 0.715 MB / 0.5745 GB, free: 6.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5485, allocations: 89.08 kB / 0.5746 GB, free: 6.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.5488, allocations: 270.4 kB / 0.5749 GB, free: 6.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5488, allocations: 25.7 kB / 0.5749 GB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.549, allocations: 254.6 kB / 0.5752 GB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.5491, allocations: 61.91 kB / 0.5752 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.5491, allocations: 7.938 kB / 0.5752 GB, free: 6.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5493, allocations: 344.1 kB / 0.5755 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5494, allocations: 93.56 kB / 0.5756 GB, free: 5.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.5496, allocations: 197.9 kB / 0.5758 GB, free: 5.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.5499, allocations: 137.2 kB / 0.576 GB, free: 5.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5499, allocations: 7.984 kB / 0.576 GB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008835/0.5508, allocations: 465.6 kB / 0.5764 GB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5508, allocations: 12.06 kB / 0.5764 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000573/0.5514, allocations: 298.1 kB / 0.5767 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/0.5519, allocations: 140.7 kB / 0.5768 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.5521, allocations: 59.72 kB / 0.5769 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.5548, allocations: 2.193 MB / 0.579 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.555, allocations: 13.67 kB / 0.579 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.5551, allocations: 14.69 kB / 0.5791 GB, free: 2.75 MB / 378.7 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 () * 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.0001037/0.5552, allocations: 123.6 kB / 0.5792 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.5553, allocations: 35.61 kB / 0.5792 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.5557, allocations: 264.8 kB / 0.5795 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5557, allocations: 0 / 0.5795 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5558, allocations: 7.938 kB / 0.5795 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5558, allocations: 0 / 0.5795 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.557, allocations: 0.7443 MB / 0.5802 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.557, allocations: 4 kB / 0.5802 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.5572, allocations: 39.91 kB / 0.5802 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.5573, allocations: 35.77 kB / 0.5803 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.5574, allocations: 4 kB / 0.5803 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5574, allocations: 0 / 0.5803 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.5574, allocations: 4 kB / 0.5803 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.558, allocations: 472.7 kB / 0.5807 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5581, allocations: 103.2 kB / 0.5808 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.5582, allocations: 22.42 kB / 0.5809 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5583, allocations: 7.312 kB / 0.5809 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.5584, allocations: 11.97 kB / 0.5809 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5584, allocations: 6.938 kB / 0.5809 GB, free: 1.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.5586, allocations: 221.1 kB / 0.5811 GB, free: 0.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5586, allocations: 0 / 0.5811 GB, free: 0.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.5591, allocations: 95.25 kB / 0.5812 GB, free: 0.7891 MB / 378.7 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 () * 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.001034/0.5602, allocations: 1.241 MB / 0.5824 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.5609, allocations: 394.2 kB / 0.5828 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5609, allocations: 0 / 0.5828 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.5611, allocations: 182.7 kB / 0.5829 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.5615, allocations: 61.05 kB / 0.583 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.563, allocations: 0.7754 MB / 0.5838 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5636, allocations: 0.8528 MB / 0.5846 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.5638, allocations: 62.91 kB / 0.5847 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.564, allocations: 126 kB / 0.5848 GB, free: 13.34 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.564, allocations: 4 kB / 0.5848 GB, free: 13.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.5883, allocations: 7.238 MB / 0.5918 GB, free: 6.137 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.5886, allocations: 189.7 kB / 0.592 GB, free: 5.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.745, allocations: 0 / 0.592 GB, free: 5.91 MB / 394.7 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) 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