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.001588/0.001588, allocations: 177 kB / 8.348 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.82/1.82, 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.0008274/0.0008274, allocations: 81.61 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1815/0.1815, allocations: 37.98 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.993e-05, allocations: 4 kB / 410.7 MB, free: 46.87 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.581, allocations: 95.82 MB / 0.5496 GB, free: 15.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5814, allocations: 89.02 kB / 0.5497 GB, free: 14.95 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03615/0.6176, allocations: 12.42 MB / 0.5618 GB, free: 2.387 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6176, allocations: 4 kB / 0.5618 GB, free: 2.383 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.6176, allocations: 4 kB / 0.5619 GB, free: 2.379 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009682/0.6186, allocations: 0.617 MB / 0.5625 GB, free: 1.715 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6187, allocations: 12.03 kB / 0.5625 GB, free: 1.703 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.6193, allocations: 99.31 kB / 0.5626 GB, free: 1.605 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.6214, allocations: 0.8488 MB / 0.5634 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.6214, allocations: 8 kB / 0.5634 GB, free: 0.707 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.6215, allocations: 20 kB / 0.5634 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004484/0.622, allocations: 261.5 kB / 0.5637 GB, free: 440 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.6226, allocations: 416.7 kB / 0.5641 GB, free: 0 / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6226, allocations: 0 / 0.5641 GB, free: 0 / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.6227, allocations: 192 / 0.5641 GB, free: 0 / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.6227, allocations: 24.78 kB / 0.5641 GB, free: 15.97 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.6249, allocations: 1.618 MB / 0.5657 GB, free: 14.25 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6252, allocations: 141.2 kB / 0.5658 GB, free: 14.09 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.6253, allocations: 98.44 kB / 0.5659 GB, free: 13.99 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6254, allocations: 11.95 kB / 0.5659 GB, free: 13.98 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6254, allocations: 34.56 kB / 0.5659 GB, free: 13.94 MB / 411.1 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.6254, allocations: 0 / 0.5659 GB, free: 13.94 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.001143/0.6266, allocations: 0.6511 MB / 0.5666 GB, free: 13.23 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.6266, allocations: 89.14 kB / 0.5667 GB, free: 13.12 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.6269, allocations: 246 kB / 0.5669 GB, free: 12.88 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6269, allocations: 25.7 kB / 0.5669 GB, free: 12.85 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.6271, allocations: 251.7 kB / 0.5672 GB, free: 12.6 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.6272, allocations: 63.09 kB / 0.5672 GB, free: 12.54 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.6272, allocations: 0 / 0.5672 GB, free: 12.54 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6273, allocations: 338.8 kB / 0.5675 GB, free: 12.2 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6275, allocations: 84.25 kB / 0.5676 GB, free: 12.11 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.6277, allocations: 185 kB / 0.5678 GB, free: 11.88 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.6279, allocations: 116.9 kB / 0.5679 GB, free: 11.77 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6279, allocations: 4 kB / 0.5679 GB, free: 11.77 MB / 411.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007696/0.6287, allocations: 416.2 kB / 0.5683 GB, free: 11.35 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6287, allocations: 8.391 kB / 0.5683 GB, free: 11.34 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005237/0.6292, allocations: 269.6 kB / 0.5686 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.6297, allocations: 120.8 kB / 0.5687 GB, free: 10.96 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6299, allocations: 55.91 kB / 0.5687 GB, free: 10.9 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.6323, allocations: 2.029 MB / 0.5707 GB, free: 8.754 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.6325, allocations: 7.984 kB / 0.5707 GB, free: 8.746 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.6325, allocations: 19.94 kB / 0.5708 GB, free: 8.727 MB / 411.1 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.0001379/0.6327, allocations: 112.9 kB / 0.5709 GB, free: 8.609 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004371/0.6331, allocations: 222.1 kB / 0.5711 GB, free: 8.383 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.6332, allocations: 31.56 kB / 0.5711 GB, free: 8.352 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.6336, allocations: 224.5 kB / 0.5713 GB, free: 8.121 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6336, allocations: 0 / 0.5713 GB, free: 8.121 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6336, allocations: 3.953 kB / 0.5713 GB, free: 8.117 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6336, allocations: 0 / 0.5713 GB, free: 8.117 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6347, allocations: 0.6497 MB / 0.572 GB, free: 7.414 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6347, allocations: 0 / 0.572 GB, free: 7.414 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.6349, allocations: 39.98 kB / 0.572 GB, free: 7.375 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.635, allocations: 36.78 kB / 0.572 GB, free: 7.336 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.6351, allocations: 16 kB / 0.572 GB, free: 7.32 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.6363, allocations: 1.411 MB / 0.5734 GB, free: 5.801 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.6363, allocations: 8.016 kB / 0.5734 GB, free: 5.793 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.6369, allocations: 441.3 kB / 0.5738 GB, free: 5.316 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.637, allocations: 96.88 kB / 0.5739 GB, free: 5.203 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6371, allocations: 7.984 kB / 0.5739 GB, free: 5.195 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6372, allocations: 4 kB / 0.574 GB, free: 5.191 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.6373, allocations: 23.86 kB / 0.574 GB, free: 5.168 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.6373, allocations: 4 kB / 0.574 GB, free: 5.164 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.6375, allocations: 192.6 kB / 0.5742 GB, free: 4.973 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6375, allocations: 0 / 0.5742 GB, free: 4.973 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.6381, allocations: 87.94 kB / 0.5742 GB, free: 4.887 MB / 411.1 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.001009/0.6391, allocations: 1.19 MB / 0.5754 GB, free: 3.645 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006822/0.6398, allocations: 365.3 kB / 0.5758 GB, free: 3.277 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6398, allocations: 0 / 0.5758 GB, free: 3.277 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.6401, allocations: 223.5 kB / 0.576 GB, free: 3.047 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.6405, allocations: 52.64 kB / 0.576 GB, free: 2.996 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.642, allocations: 0.7445 MB / 0.5767 GB, free: 2.203 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.6425, allocations: 0.8497 MB / 0.5776 GB, free: 1.328 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.6427, allocations: 55.23 kB / 0.5776 GB, free: 1.277 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.6428, allocations: 127.3 kB / 0.5778 GB, free: 1.152 MB / 411.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6428, allocations: 0 / 0.5778 GB, free: 1.152 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.6697, allocations: 6.387 MB / 0.584 GB, free: 10.77 MB / 427.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.6699, allocations: 139.4 kB / 0.5841 GB, free: 10.59 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.707, allocations: 0 / 0.5841 GB, free: 10.59 MB / 427.1 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