Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",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.0009675/0.0009677, allocations: 179.7 kB / 16.38 MB, free: 5.766 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.197/1.197, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008064/0.0008064, allocations: 96.06 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.158/0.158, allocations: 38.07 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2269, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3445, allocations: 102.2 MB / 0.569 GB, free: 184 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3448, allocations: 95.94 kB / 0.5691 GB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03912/0.3839, allocations: 13.74 MB / 0.5825 GB, free: 2.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3839, allocations: 0 / 0.5825 GB, free: 2.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.384, allocations: 8 kB / 0.5825 GB, free: 2.188 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001614/0.3856, allocations: 0.8127 MB / 0.5833 GB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3856, allocations: 12.03 kB / 0.5833 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.3857, allocations: 82.52 kB / 0.5834 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.3862, allocations: 99.19 kB / 0.5835 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.3885, allocations: 0.9471 MB / 0.5844 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3885, allocations: 33 kB / 0.5844 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.3886, allocations: 47.98 kB / 0.5845 GB, free: 56 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/0.3895, allocations: 0.6729 MB / 0.5851 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3895, allocations: 0 / 0.5851 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.3896, allocations: 20 kB / 0.5851 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.3897, allocations: 32.98 kB / 0.5852 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.3904, allocations: 0.5033 MB / 0.5857 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.3939, allocations: 3.048 MB / 0.5886 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.3944, allocations: 329.5 kB / 0.589 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3945, allocations: 16.03 kB / 0.589 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3945, allocations: 38.56 kB / 0.589 GB, free: 11.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.3945, allocations: 0 / 0.589 GB, free: 11.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001938/0.3964, allocations: 1.406 MB / 0.5904 GB, free: 9.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3965, allocations: 85.23 kB / 0.5905 GB, free: 9.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.3968, allocations: 340.6 kB / 0.5908 GB, free: 9.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.3969, allocations: 37.64 kB / 0.5908 GB, free: 9.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.397, allocations: 287.4 kB / 0.5911 GB, free: 8.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.3971, allocations: 130.1 kB / 0.5912 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3971, allocations: 8 kB / 0.5912 GB, free: 8.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3972, allocations: 350.8 kB / 0.5916 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.3975, allocations: 205 kB / 0.5918 GB, free: 8.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.3979, allocations: 382.9 kB / 0.5921 GB, free: 7.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3982, allocations: 265.1 kB / 0.5924 GB, free: 7.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3983, allocations: 8 kB / 0.5924 GB, free: 7.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002042/0.4003, allocations: 0.855 MB / 0.5932 GB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4003, allocations: 8 kB / 0.5932 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4003, allocations: 11.98 kB / 0.5932 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.402, allocations: 289.9 kB / 0.5935 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.4027, allocations: 143.7 kB / 0.5937 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.4073, allocations: 3.87 MB / 0.5974 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.4078, allocations: 31.97 kB / 0.5975 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4079, allocations: 31.92 kB / 0.5975 GB, free: 2.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.4082, allocations: 217.7 kB / 0.5977 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.4082, allocations: 39.53 kB / 0.5977 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.409, allocations: 0.5286 MB / 0.5983 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.4091, allocations: 15.94 kB / 0.5983 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.4091, allocations: 4 kB / 0.5983 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4091, allocations: 3.938 kB / 0.5983 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.4105, allocations: 1.101 MB / 0.5994 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4105, allocations: 4 kB / 0.5994 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.411, allocations: 87.88 kB / 0.5994 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.411, allocations: 4.094 kB / 0.5994 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.4111, allocations: 23.98 kB / 0.5995 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4111, allocations: 0 / 0.5995 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4111, allocations: 4 kB / 0.5995 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4121, allocations: 0.8671 MB / 0.6003 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.4122, allocations: 120.7 kB / 0.6004 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.4123, allocations: 8 kB / 0.6004 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4125, allocations: 19.97 kB / 0.6005 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4126, allocations: 27.92 kB / 0.6005 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.4126, allocations: 15.98 kB / 0.6005 GB, free: 14.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.4129, allocations: 259.1 kB / 0.6008 GB, free: 14.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 4 kB / 0.6008 GB, free: 14.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005229/0.4134, allocations: 139.9 kB / 0.6009 GB, free: 14.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (40): * Single equations (assignments): 38 * Array equations: 1 * 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.00131/0.4147, allocations: 1.645 MB / 0.6025 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.4162, allocations: 0.853 MB / 0.6033 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4163, allocations: 0 / 0.6033 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.4166, allocations: 231.8 kB / 0.6035 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.417, allocations: 74.03 kB / 0.6036 GB, free: 11.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.4233, allocations: 7.24 MB / 0.6107 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.4238, allocations: 0.9171 MB / 0.6116 GB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.4242, allocations: 127.3 kB / 0.6117 GB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.4245, allocations: 159.4 kB / 0.6119 GB, free: 2.871 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4245, allocations: 4 kB / 0.6119 GB, free: 2.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.4463, allocations: 10.3 MB / 0.6219 GB, free: 8.625 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.4465, allocations: 214.6 kB / 0.6221 GB, free: 8.379 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.404, allocations: 0 / 0.6221 GB, free: 8.379 MB / 458.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat does not exist to compare? outputFormat=mat