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.001299/0.001299, 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.551/1.551, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.000838/0.0008376, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1867/0.1867, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.112e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 56.31 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.599, allocations: 93.85 MB / 0.5547 GB, free: 8.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5993, allocations: 91.69 kB / 0.5548 GB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.6158, allocations: 6.466 MB / 0.5611 GB, free: 3.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6159, allocations: 3.938 kB / 0.5611 GB, free: 3.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.6159, allocations: 8 kB / 0.5611 GB, free: 3.047 MB / 362.7 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.0007483/0.6167, allocations: 0.5345 MB / 0.5616 GB, free: 2.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.6167, allocations: 8.031 kB / 0.5616 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.6168, allocations: 62.23 kB / 0.5617 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.6169, allocations: 31.62 kB / 0.5617 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6182, allocations: 0.6557 MB / 0.5624 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.6182, allocations: 15.19 kB / 0.5624 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6184, allocations: 27.12 kB / 0.5624 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.6188, allocations: 295 kB / 0.5627 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6188, allocations: 0 / 0.5627 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.6189, allocations: 11.64 kB / 0.5627 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6189, allocations: 8 kB / 0.5627 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.6192, allocations: 184.8 kB / 0.5629 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.6204, allocations: 1.286 MB / 0.5641 GB, free: 116 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.6207, allocations: 121.7 kB / 0.5642 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.6208, allocations: 40.58 kB / 0.5643 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.6208, allocations: 15.52 kB / 0.5643 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6209, allocations: 38.55 kB / 0.5643 GB, free: 15.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.6209, allocations: 0 / 0.5643 GB, free: 15.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000914/0.6218, allocations: 0.4918 MB / 0.5648 GB, free: 15.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.6219, allocations: 110.3 kB / 0.5649 GB, free: 15.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.6221, allocations: 220 kB / 0.5651 GB, free: 15.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6221, allocations: 25.7 kB / 0.5652 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6223, allocations: 190.7 kB / 0.5653 GB, free: 14.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.6223, allocations: 38.69 kB / 0.5654 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.6223, allocations: 7.375 kB / 0.5654 GB, free: 14.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6225, allocations: 333.5 kB / 0.5657 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.6225, allocations: 38.38 kB / 0.5657 GB, free: 14.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.6227, allocations: 134.1 kB / 0.5659 GB, free: 14.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6228, allocations: 60.97 kB / 0.5659 GB, free: 14.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6228, allocations: 0 / 0.5659 GB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004073/0.6232, allocations: 231.2 kB / 0.5661 GB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6233, allocations: 18.39 kB / 0.5662 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6233, allocations: 0 / 0.5662 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.6234, allocations: 28.44 kB / 0.5662 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.6238, allocations: 68.23 kB / 0.5663 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.6238, allocations: 8 kB / 0.5663 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.624, allocations: 15.61 kB / 0.5663 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.624, allocations: 11.56 kB / 0.5663 GB, free: 13.97 MB / 378.7 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.685e-05/0.6241, allocations: 116.3 kB / 0.5664 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.6242, allocations: 19.72 kB / 0.5664 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.6244, allocations: 159.5 kB / 0.5666 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6245, allocations: 4 kB / 0.5666 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6245, allocations: 0 / 0.5666 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6245, allocations: 0 / 0.5666 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.6249, allocations: 296.2 kB / 0.5669 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6249, allocations: 0 / 0.5669 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.625, allocations: 31.92 kB / 0.5669 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.625, allocations: 0 / 0.5669 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.6251, allocations: 7.25 kB / 0.5669 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6251, allocations: 3.953 kB / 0.5669 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6251, allocations: 4 kB / 0.5669 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.6255, allocations: 390.6 kB / 0.5673 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.6256, allocations: 100.7 kB / 0.5674 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.6256, allocations: 6.938 kB / 0.5674 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.6258, allocations: 7.562 kB / 0.5674 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.6258, allocations: 7.984 kB / 0.5674 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.6258, allocations: 4 kB / 0.5674 GB, free: 12.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.626, allocations: 177.1 kB / 0.5676 GB, free: 12.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.626, allocations: 0 / 0.5676 GB, free: 12.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000334/0.6263, allocations: 47.38 kB / 0.5676 GB, free: 12.68 MB / 378.7 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.000864/0.6272, allocations: 1.068 MB / 0.5686 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.6276, allocations: 213.8 kB / 0.5689 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6276, allocations: 4.25 kB / 0.5689 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.6277, allocations: 53.81 kB / 0.5689 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.6281, allocations: 50.91 kB / 0.569 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.6291, allocations: 0.4942 MB / 0.5694 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.6296, allocations: 0.7752 MB / 0.5702 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.6297, allocations: 34.05 kB / 0.5702 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6298, allocations: 85.78 kB / 0.5703 GB, free: 9.992 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6298, allocations: 0 / 0.5703 GB, free: 9.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.6473, allocations: 4.5 MB / 0.5747 GB, free: 5.535 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.6475, allocations: 176.1 kB / 0.5749 GB, free: 5.312 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.841, allocations: 0 / 0.5749 GB, free: 5.312 MB / 378.7 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