Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001497/0.001496, allocations: 175 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.698/1.698, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008978/0.0008976, allocations: 74.8 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1606/0.1606, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.177e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09697, allocations: 56.32 MB / 474.1 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4587, allocations: 102 MB / 0.5626 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.459, allocations: 92.69 kB / 0.5627 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.4983, allocations: 14.6 MB / 0.5769 GB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4983, allocations: 0 / 0.5769 GB, free: 4.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.4984, allocations: 8 kB / 0.577 GB, free: 4.223 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00115/0.4995, allocations: 0.6746 MB / 0.5776 GB, free: 3.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4996, allocations: 12.02 kB / 0.5776 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.4997, allocations: 85.59 kB / 0.5777 GB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.5003, allocations: 87.38 kB / 0.5778 GB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.5023, allocations: 0.8595 MB / 0.5786 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.5023, allocations: 28.31 kB / 0.5787 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.5024, allocations: 43.36 kB / 0.5787 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.5033, allocations: 0.6304 MB / 0.5793 GB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5033, allocations: 7.938 kB / 0.5793 GB, free: 2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.5034, allocations: 15.44 kB / 0.5793 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.5035, allocations: 44.69 kB / 0.5794 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.5041, allocations: 446.6 kB / 0.5798 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.507, allocations: 3.048 MB / 0.5828 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.5075, allocations: 267.4 kB / 0.583 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.5077, allocations: 145.3 kB / 0.5832 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5077, allocations: 7.547 kB / 0.5832 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5077, allocations: 38.5 kB / 0.5832 GB, free: 14.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.405e-06/0.5078, allocations: 0 / 0.5832 GB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001358/0.5091, allocations: 0.8987 MB / 0.5841 GB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.5092, allocations: 81.11 kB / 0.5842 GB, free: 13.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5095, allocations: 276.8 kB / 0.5844 GB, free: 13.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5095, allocations: 28.7 kB / 0.5845 GB, free: 13.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.5097, allocations: 280.8 kB / 0.5847 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.5097, allocations: 104.1 kB / 0.5848 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.5098, allocations: 7.5 kB / 0.5848 GB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5099, allocations: 346 kB / 0.5852 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.5101, allocations: 149.2 kB / 0.5853 GB, free: 12.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.5104, allocations: 322.6 kB / 0.5856 GB, free: 12.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5107, allocations: 202.9 kB / 0.5858 GB, free: 11.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5107, allocations: 0 / 0.5858 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000992/0.5117, allocations: 0.6208 MB / 0.5864 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5117, allocations: 10.5 kB / 0.5864 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006144/0.5123, allocations: 375.6 kB / 0.5868 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.5127, allocations: 112.2 kB / 0.5869 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.513, allocations: 88.83 kB / 0.587 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.5154, allocations: 3.018 MB / 0.5899 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.5157, allocations: 27.28 kB / 0.59 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.5157, allocations: 19.62 kB / 0.59 GB, free: 7.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.5159, allocations: 135.8 kB / 0.5901 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.5159, allocations: 31.62 kB / 0.5901 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.5165, allocations: 371.7 kB / 0.5905 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.5165, allocations: 7.984 kB / 0.5905 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.5165, allocations: 0 / 0.5905 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5165, allocations: 4 kB / 0.5905 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.5177, allocations: 0.8754 MB / 0.5914 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5177, allocations: 0 / 0.5914 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.5181, allocations: 67.88 kB / 0.5914 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5181, allocations: 4 kB / 0.5914 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5182, allocations: 10.86 kB / 0.5914 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5182, allocations: 0 / 0.5914 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5182, allocations: 4 kB / 0.5914 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.5189, allocations: 0.614 MB / 0.592 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.519, allocations: 130.8 kB / 0.5922 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5191, allocations: 11.31 kB / 0.5922 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.5193, allocations: 11.48 kB / 0.5922 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.5193, allocations: 23.72 kB / 0.5922 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.5193, allocations: 4 kB / 0.5922 GB, free: 5.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.5195, allocations: 215.8 kB / 0.5924 GB, free: 5.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5195, allocations: 0 / 0.5924 GB, free: 5.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004715/0.52, allocations: 117.9 kB / 0.5925 GB, free: 5.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.001069/0.5211, allocations: 1.408 MB / 0.5939 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.522, allocations: 0.6172 MB / 0.5945 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.522, allocations: 448 / 0.5945 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.5222, allocations: 151.6 kB / 0.5946 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.5226, allocations: 60.7 kB / 0.5947 GB, free: 3.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5241, allocations: 0.9248 MB / 0.5956 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.5245, allocations: 0.8847 MB / 0.5965 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.5248, allocations: 119.2 kB / 0.5966 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.525, allocations: 142.6 kB / 0.5967 GB, free: 1.684 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.525, allocations: 0 / 0.5967 GB, free: 1.684 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.5445, allocations: 7.523 MB / 0.6041 GB, free: 10.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.5447, allocations: 178.2 kB / 0.6042 GB, free: 9.984 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.542, allocations: 4.062 kB / 0.6042 GB, free: 9.98 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat does not exist to compare? outputFormat=mat