Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.0009266/0.0009266, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009432/0.0009428, allocations: 89.27 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1782/0.1782, allocations: 37.99 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.926e-05, allocations: 4 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 56.33 MB / 467 MB, free: 6.457 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5521, allocations: 93.18 MB / 0.5471 GB, free: 1.672 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.5525, allocations: 87.95 kB / 0.5471 GB, free: 1.586 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01911/0.5717, allocations: 6.413 MB / 0.5534 GB, free: 11.11 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5717, allocations: 0 / 0.5534 GB, free: 11.11 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.5718, allocations: 8 kB / 0.5534 GB, free: 11.11 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008618/0.5726, allocations: 0.5348 MB / 0.5539 GB, free: 10.53 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5727, allocations: 8.031 kB / 0.5539 GB, free: 10.52 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.5728, allocations: 35.58 kB / 0.554 GB, free: 10.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.5743, allocations: 0.6535 MB / 0.5546 GB, free: 9.789 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.5743, allocations: 4 kB / 0.5546 GB, free: 9.785 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.5744, allocations: 24 kB / 0.5546 GB, free: 9.762 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000306/0.5748, allocations: 156.8 kB / 0.5548 GB, free: 9.609 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.5752, allocations: 261 kB / 0.555 GB, free: 9.32 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5752, allocations: 3.953 kB / 0.555 GB, free: 9.316 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5752, allocations: 3.984 kB / 0.555 GB, free: 9.312 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.5753, allocations: 4 kB / 0.555 GB, free: 9.309 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.5768, allocations: 1.236 MB / 0.5563 GB, free: 7.988 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.5771, allocations: 115.8 kB / 0.5564 GB, free: 7.848 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.5772, allocations: 42.64 kB / 0.5564 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5772, allocations: 4.75 kB / 0.5564 GB, free: 7.793 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.5772, allocations: 42.5 kB / 0.5565 GB, free: 7.742 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5772, allocations: 0 / 0.5565 GB, free: 7.742 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.000909/0.5782, allocations: 499.9 kB / 0.5569 GB, free: 7.199 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.5782, allocations: 114.8 kB / 0.557 GB, free: 7.062 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5785, allocations: 202.2 kB / 0.5572 GB, free: 6.859 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5785, allocations: 25.7 kB / 0.5573 GB, free: 6.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.5787, allocations: 191.7 kB / 0.5574 GB, free: 6.637 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.5787, allocations: 43.45 kB / 0.5575 GB, free: 6.594 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.5787, allocations: 0 / 0.5575 GB, free: 6.594 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5789, allocations: 330.8 kB / 0.5578 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.5789, allocations: 32 kB / 0.5578 GB, free: 6.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.5791, allocations: 124.4 kB / 0.5579 GB, free: 6.066 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.5792, allocations: 51.92 kB / 0.558 GB, free: 6.016 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5792, allocations: 0 / 0.558 GB, free: 6.016 MB / 395.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003902/0.5796, allocations: 213.9 kB / 0.5582 GB, free: 5.797 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5796, allocations: 4 kB / 0.5582 GB, free: 5.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5796, allocations: 4 kB / 0.5582 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.5798, allocations: 32.8 kB / 0.5582 GB, free: 5.754 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.5801, allocations: 64.3 kB / 0.5583 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5802, allocations: 7.984 kB / 0.5583 GB, free: 5.684 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.5803, allocations: 11.94 kB / 0.5583 GB, free: 5.672 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5803, allocations: 8 kB / 0.5583 GB, free: 5.664 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 9.704e-05/0.5804, allocations: 108.9 kB / 0.5584 GB, free: 5.551 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002194/0.5806, allocations: 125.2 kB / 0.5585 GB, free: 5.422 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.5807, allocations: 27.67 kB / 0.5586 GB, free: 5.395 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.581, allocations: 139.5 kB / 0.5587 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.581, allocations: 0 / 0.5587 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.581, allocations: 7.984 kB / 0.5587 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.581, allocations: 0 / 0.5587 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5814, allocations: 246 kB / 0.5589 GB, free: 4.969 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5814, allocations: 0 / 0.5589 GB, free: 4.969 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5815, allocations: 35.92 kB / 0.559 GB, free: 4.934 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5816, allocations: 0 / 0.559 GB, free: 4.934 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5816, allocations: 7.984 kB / 0.559 GB, free: 4.926 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.5816, allocations: 3.953 kB / 0.559 GB, free: 4.922 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5816, allocations: 0 / 0.559 GB, free: 4.922 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.582, allocations: 375 kB / 0.5594 GB, free: 4.523 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.5821, allocations: 108.7 kB / 0.5595 GB, free: 4.398 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.5821, allocations: 3.938 kB / 0.5595 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.5823, allocations: 8.062 kB / 0.5595 GB, free: 4.387 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.5823, allocations: 15.92 kB / 0.5595 GB, free: 4.371 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5824, allocations: 4 kB / 0.5595 GB, free: 4.367 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.5825, allocations: 157.9 kB / 0.5596 GB, free: 4.215 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5825, allocations: 0 / 0.5596 GB, free: 4.215 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000351/0.5829, allocations: 44 kB / 0.5597 GB, free: 4.172 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008277/0.5837, allocations: 1.053 MB / 0.5607 GB, free: 3.086 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.5841, allocations: 202.6 kB / 0.5609 GB, free: 2.867 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5841, allocations: 0 / 0.5609 GB, free: 2.867 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.5842, allocations: 48 kB / 0.5609 GB, free: 2.82 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.5846, allocations: 56.47 kB / 0.561 GB, free: 2.766 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5857, allocations: 485.8 kB / 0.5615 GB, free: 2.246 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.5861, allocations: 0.7835 MB / 0.5622 GB, free: 1.438 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.5862, allocations: 30.06 kB / 0.5623 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5864, allocations: 87.39 kB / 0.5623 GB, free: 1.324 MB / 395.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5864, allocations: 0 / 0.5623 GB, free: 1.324 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.6126, allocations: 4.029 MB / 0.5663 GB, free: 13.3 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.6129, allocations: 157 kB / 0.5664 GB, free: 13.1 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.46, allocations: 0 / 0.5664 GB, free: 13.1 MB / 411.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat does not exist to compare? outputFormat=mat