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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 97.27 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008978/0.0008979, allocations: 181.7 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2929/0.2929, allocations: 38.07 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004792, allocations: 8 kB / 400.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2659, allocations: 59.16 MB / 459.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.003886/0.2698, allocations: 4.363 MB / 463.6 MB, free: 27.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.2719, allocations: 1.624 MB / 465.2 MB, free: 26.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.2722, allocations: 22.12 kB / 465.2 MB, free: 26.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.2724, allocations: 69.48 kB / 465.3 MB, free: 26.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.2729, allocations: 258.1 kB / 465.5 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.2735, allocations: 242.4 kB / 465.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.2739, allocations: 357.7 kB / 466.1 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.2746, allocations: 478.1 kB / 466.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.2749, allocations: 211.9 kB / 466.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.2754, allocations: 294.8 kB / 467.1 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.2755, allocations: 20.78 kB / 467.1 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.2757, allocations: 94.67 kB / 467.2 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.276, allocations: 206.8 kB / 467.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2761, allocations: 109.7 kB / 467.5 MB, free: 24.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.2767, allocations: 487.4 kB / 468 MB, free: 24.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2767, allocations: 3.938 kB / 468 MB, free: 24.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2767, allocations: 0.9844 kB / 468 MB, free: 24.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2768, allocations: 0 / 468 MB, free: 24.86 MB / 350.1 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.001639/0.2784, allocations: 0.798 MB / 468.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2785, allocations: 13.34 kB / 468.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.2786, allocations: 89.59 kB / 468.9 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.2791, allocations: 93.36 kB / 469 MB, free: 24.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.2801, allocations: 476.8 kB / 469.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.2802, allocations: 30.56 kB / 469.5 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.2804, allocations: 49.53 kB / 469.5 MB, free: 23.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.2815, allocations: 0.6802 MB / 470.2 MB, free: 23.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2815, allocations: 6.953 kB / 470.2 MB, free: 23.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.2816, allocations: 20.42 kB / 470.2 MB, free: 23.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.2817, allocations: 33.25 kB / 470.3 MB, free: 23.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009007/0.2826, allocations: 0.5184 MB / 470.8 MB, free: 23.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.286, allocations: 3.127 MB / 473.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.2866, allocations: 318.8 kB / 474.2 MB, free: 20.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.2867, allocations: 8.094 kB / 474.2 MB, free: 20.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2867, allocations: 38.77 kB / 474.3 MB, free: 20.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.2867, allocations: 4 kB / 474.3 MB, free: 20.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001772/0.2885, allocations: 1.218 MB / 475.5 MB, free: 20.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2885, allocations: 81.17 kB / 475.6 MB, free: 20 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.289, allocations: 390 kB / 476 MB, free: 19.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.289, allocations: 30.92 kB / 476 MB, free: 19.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2891, allocations: 295.6 kB / 476.3 MB, free: 19.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.2892, allocations: 121.9 kB / 476.4 MB, free: 19.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.2892, allocations: 10.84 kB / 476.4 MB, free: 19.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.2893, allocations: 349.8 kB / 476.7 MB, free: 19.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.2896, allocations: 190.6 kB / 476.9 MB, free: 18.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2899, allocations: 384.1 kB / 477.3 MB, free: 18.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.2902, allocations: 250.7 kB / 477.5 MB, free: 18.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2902, allocations: 3 kB / 477.6 MB, free: 18.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001852/0.2921, allocations: 0.8432 MB / 478.4 MB, free: 18.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2921, allocations: 14.92 kB / 478.4 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2921, allocations: 10.53 kB / 478.4 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.2936, allocations: 300.8 kB / 478.7 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.2942, allocations: 142.1 kB / 478.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.2986, allocations: 3.922 MB / 482.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.299, allocations: 30.73 kB / 482.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.299, allocations: 31.39 kB / 482.8 MB, free: 14.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 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.0002671/0.2993, allocations: 220.2 kB / 483 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.2994, allocations: 42.2 kB / 483.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.3001, allocations: 495.2 kB / 483.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3001, allocations: 8.375 kB / 483.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3001, allocations: 1 kB / 483.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3001, allocations: 4.953 kB / 483.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.3015, allocations: 1.016 MB / 484.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3015, allocations: 5.094 kB / 484.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.3019, allocations: 89.75 kB / 484.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.302, allocations: 7.156 kB / 484.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.302, allocations: 12.11 kB / 484.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.302, allocations: 2.938 kB / 484.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.302, allocations: 0.9375 kB / 484.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.3028, allocations: 0.7927 MB / 485.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.3029, allocations: 122.3 kB / 485.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.303, allocations: 12.06 kB / 485.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3032, allocations: 15.8 kB / 485.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3033, allocations: 34.59 kB / 485.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3033, allocations: 9.031 kB / 485.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3036, allocations: 273.6 kB / 486 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3036, allocations: 3.938 kB / 486 MB, free: 12.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.3041, allocations: 120 kB / 486.1 MB, free: 12.17 MB / 350.1 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 (39): * Single equations (assignments): 38 * 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.0009476/0.3051, allocations: 1.535 MB / 487.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3063, allocations: 0.7947 MB / 488.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3063, allocations: 0 / 488.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3065, allocations: 208.5 kB / 488.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3069, allocations: 78.06 kB / 488.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.3119, allocations: 7.63 MB / 496.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3122, allocations: 0.9061 MB / 497.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003327/0.3125, allocations: 131.3 kB / 497.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3128, allocations: 171.4 kB / 497.5 MB, free: 452 kB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3128, allocations: 0 / 497.5 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.3338, allocations: 10.07 MB / 0.4957 GB, free: 6.562 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.3341, allocations: 205.2 kB / 0.4959 GB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.14, allocations: 0 / 0.4959 GB, free: 6.328 MB / 366.1 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) Environment - environmentSimulation: 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