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.001363/0.001363, 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.653/1.653, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009369/0.000937, allocations: 85.98 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1723/0.1723, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.108e-05, allocations: 8 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 56.31 MB / 474.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5477, allocations: 96.49 MB / 0.5573 GB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.548, allocations: 100.9 kB / 0.5574 GB, free: 6.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03264/0.5807, allocations: 12.52 MB / 0.5696 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5807, allocations: 0 / 0.5696 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.5808, allocations: 8 kB / 0.5696 GB, free: 11.4 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.0009189/0.5817, allocations: 0.6172 MB / 0.5702 GB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5818, allocations: 8.031 kB / 0.5702 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.125e-05/0.5819, allocations: 87.72 kB / 0.5703 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/0.5824, allocations: 91.36 kB / 0.5704 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.5845, allocations: 0.8507 MB / 0.5712 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5845, allocations: 27.16 kB / 0.5712 GB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.5846, allocations: 34.19 kB / 0.5713 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.5853, allocations: 457.6 kB / 0.5717 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5853, allocations: 3.625 kB / 0.5717 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.5853, allocations: 12.94 kB / 0.5717 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.5854, allocations: 28.66 kB / 0.5717 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.5859, allocations: 327.4 kB / 0.5721 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.5879, allocations: 1.709 MB / 0.5737 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.5882, allocations: 143.6 kB / 0.5739 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.5883, allocations: 108 kB / 0.574 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5884, allocations: 4 kB / 0.574 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5884, allocations: 34.56 kB / 0.574 GB, free: 7.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.5884, allocations: 0 / 0.574 GB, free: 7.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001117/0.5895, allocations: 0.6795 MB / 0.5747 GB, free: 6.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.5896, allocations: 93.02 kB / 0.5747 GB, free: 6.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.5899, allocations: 264.6 kB / 0.575 GB, free: 6.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.5899, allocations: 29.58 kB / 0.575 GB, free: 6.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.5901, allocations: 253.2 kB / 0.5753 GB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.5901, allocations: 66.72 kB / 0.5753 GB, free: 6.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.5901, allocations: 7.688 kB / 0.5753 GB, free: 6.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5903, allocations: 342.5 kB / 0.5757 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5904, allocations: 86.5 kB / 0.5758 GB, free: 5.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5906, allocations: 191.7 kB / 0.5759 GB, free: 5.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5908, allocations: 131.1 kB / 0.5761 GB, free: 5.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5908, allocations: 0 / 0.5761 GB, free: 5.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008039/0.5916, allocations: 449.1 kB / 0.5765 GB, free: 5.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5917, allocations: 6.5 kB / 0.5765 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005387/0.5922, allocations: 281.2 kB / 0.5768 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.5927, allocations: 131.1 kB / 0.5769 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.5929, allocations: 55.28 kB / 0.5769 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.5954, allocations: 2.152 MB / 0.579 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5956, allocations: 15.61 kB / 0.5791 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.5956, allocations: 19.44 kB / 0.5791 GB, free: 2.684 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.0001053/0.5957, allocations: 124 kB / 0.5792 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.5958, allocations: 27.62 kB / 0.5792 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.5962, allocations: 249.8 kB / 0.5795 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5962, allocations: 0 / 0.5795 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.5962, allocations: 0 / 0.5795 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5962, allocations: 11.95 kB / 0.5795 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5973, allocations: 0.7111 MB / 0.5802 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5973, allocations: 0 / 0.5802 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.5975, allocations: 39.91 kB / 0.5802 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-05/0.5976, allocations: 39.05 kB / 0.5802 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.5977, allocations: 14.67 kB / 0.5803 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.5988, allocations: 1.476 MB / 0.5817 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5988, allocations: 0 / 0.5817 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.5993, allocations: 453.2 kB / 0.5821 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.5994, allocations: 103.4 kB / 0.5822 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.5995, allocations: 3.562 kB / 0.5822 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5996, allocations: 11.98 kB / 0.5822 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.5997, allocations: 15.58 kB / 0.5823 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.5997, allocations: 11.98 kB / 0.5823 GB, free: 15.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.5999, allocations: 216.5 kB / 0.5825 GB, free: 15.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5999, allocations: 0 / 0.5825 GB, free: 15.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.6004, allocations: 95.31 kB / 0.5826 GB, free: 15.24 MB / 394.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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009519/0.6013, allocations: 1.226 MB / 0.5838 GB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.602, allocations: 380.6 kB / 0.5841 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.602, allocations: 192 / 0.5841 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.6023, allocations: 236.2 kB / 0.5843 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.6027, allocations: 55.08 kB / 0.5844 GB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.6041, allocations: 0.7653 MB / 0.5851 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.6045, allocations: 0.8539 MB / 0.586 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.6047, allocations: 66.91 kB / 0.586 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6049, allocations: 119.8 kB / 0.5862 GB, free: 11.78 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6049, allocations: 0 / 0.5862 GB, free: 11.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.6299, allocations: 7.326 MB / 0.5933 GB, free: 4.496 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6301, allocations: 178.6 kB / 0.5935 GB, free: 4.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.825, allocations: 0 / 0.5935 GB, free: 4.277 MB / 394.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