Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",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.001031/0.00103, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.207/1.207, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007988/0.0007988, allocations: 97.59 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1556/0.1556, allocations: 38.07 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002887, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2373, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3476, allocations: 96.58 MB / 0.5635 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3478, allocations: 91.94 kB / 0.5636 GB, free: 5.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03297/0.3808, allocations: 12.55 MB / 0.5758 GB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3808, allocations: 4 kB / 0.5758 GB, free: 9.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.3809, allocations: 8 kB / 0.5758 GB, free: 9.008 MB / 410.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.001034/0.3819, allocations: 0.6606 MB / 0.5765 GB, free: 8.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3819, allocations: 12.03 kB / 0.5765 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.382, allocations: 78.48 kB / 0.5766 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.3826, allocations: 95.36 kB / 0.5766 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3846, allocations: 0.8761 MB / 0.5775 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3846, allocations: 32.98 kB / 0.5775 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.3847, allocations: 35.91 kB / 0.5776 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.3853, allocations: 456.9 kB / 0.578 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3854, allocations: 3.938 kB / 0.578 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.3854, allocations: 15.98 kB / 0.578 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.3854, allocations: 28.95 kB / 0.578 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.3859, allocations: 327.7 kB / 0.5784 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3879, allocations: 1.706 MB / 0.58 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3882, allocations: 149.1 kB / 0.5802 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3882, allocations: 288 / 0.5802 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3882, allocations: 42.62 kB / 0.5802 GB, free: 4.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.3882, allocations: 0 / 0.5802 GB, free: 4.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001309/0.3895, allocations: 0.8541 MB / 0.581 GB, free: 3.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3896, allocations: 81.23 kB / 0.5811 GB, free: 3.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.3899, allocations: 271.6 kB / 0.5814 GB, free: 2.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3899, allocations: 29.7 kB / 0.5814 GB, free: 2.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.39, allocations: 251.5 kB / 0.5816 GB, free: 2.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3901, allocations: 66.16 kB / 0.5817 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.3901, allocations: 4 kB / 0.5817 GB, free: 2.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3903, allocations: 350.7 kB / 0.582 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3904, allocations: 88.23 kB / 0.5821 GB, free: 2.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3906, allocations: 209.1 kB / 0.5823 GB, free: 1.898 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3908, allocations: 116.7 kB / 0.5824 GB, free: 1.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3908, allocations: 0 / 0.5824 GB, free: 1.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007937/0.3916, allocations: 464.2 kB / 0.5829 GB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3916, allocations: 8 kB / 0.5829 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000531/0.3922, allocations: 285 kB / 0.5832 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.3926, allocations: 136.7 kB / 0.5833 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3928, allocations: 51.91 kB / 0.5833 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.3952, allocations: 2.196 MB / 0.5855 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3954, allocations: 15.98 kB / 0.5855 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3954, allocations: 16 kB / 0.5855 GB, free: 14.49 MB / 426.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 () * 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.0001826/0.3956, allocations: 189.7 kB / 0.5857 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3957, allocations: 31.62 kB / 0.5857 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.3961, allocations: 245.4 kB / 0.586 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3961, allocations: 4 kB / 0.586 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3961, allocations: 0 / 0.586 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3961, allocations: 0 / 0.586 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3972, allocations: 0.7311 MB / 0.5867 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3972, allocations: 0 / 0.5867 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3974, allocations: 35.97 kB / 0.5867 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.165e-05/0.3975, allocations: 40.78 kB / 0.5868 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3975, allocations: 4 kB / 0.5868 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3986, allocations: 1.494 MB / 0.5882 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3986, allocations: 4.062 kB / 0.5882 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3992, allocations: 467 kB / 0.5887 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.3993, allocations: 96.83 kB / 0.5888 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3993, allocations: 4 kB / 0.5888 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3995, allocations: 11.92 kB / 0.5888 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3995, allocations: 19.94 kB / 0.5888 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3995, allocations: 4 kB / 0.5888 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3997, allocations: 215 kB / 0.589 GB, free: 10.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.3997, allocations: 3.938 kB / 0.589 GB, free: 10.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.4002, allocations: 103.9 kB / 0.5891 GB, free: 10.53 MB / 426.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 () * 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009002/0.4011, allocations: 1.212 MB / 0.5903 GB, free: 9.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.4017, allocations: 394.8 kB / 0.5907 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4017, allocations: 0 / 0.5907 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.402, allocations: 236.3 kB / 0.5909 GB, free: 8.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4023, allocations: 53.06 kB / 0.5909 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.4069, allocations: 4.47 MB / 0.5953 GB, free: 3.977 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4073, allocations: 0.8458 MB / 0.5961 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.4075, allocations: 66.91 kB / 0.5962 GB, free: 3.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4076, allocations: 119.4 kB / 0.5963 GB, free: 2.922 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4076, allocations: 0 / 0.5963 GB, free: 2.922 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.4262, allocations: 7.299 MB / 0.6034 GB, free: 11.68 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.4264, allocations: 215.5 kB / 0.6036 GB, free: 11.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.266, allocations: 0 / 0.6036 GB, free: 11.44 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat does not exist to compare? outputFormat=mat