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.001348/0.001348, allocations: 176.5 kB / 8.345 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.861/1.861, 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.0009545/0.0009544, allocations: 82.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2069/0.2069, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.23e-05, allocations: 4 kB / 410.7 MB, free: 46.84 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 56.33 MB / 467 MB, free: 6.453 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.6131, allocations: 101.3 MB / 0.555 GB, free: 9.535 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6134, allocations: 88.83 kB / 0.5551 GB, free: 9.449 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04162/0.655, allocations: 14.48 MB / 0.5692 GB, free: 10.8 MB / 411.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.6551, allocations: 0 / 0.5692 GB, free: 10.8 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.6552, allocations: 15.94 kB / 0.5692 GB, free: 10.79 MB / 411.1 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.001266/0.6564, allocations: 0.6761 MB / 0.5699 GB, free: 10.07 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.6565, allocations: 12.03 kB / 0.5699 GB, free: 10.05 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.6571, allocations: 87.38 kB / 0.57 GB, free: 9.969 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.6594, allocations: 0.8538 MB / 0.5708 GB, free: 9.074 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6595, allocations: 12 kB / 0.5708 GB, free: 9.062 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.6596, allocations: 24 kB / 0.5708 GB, free: 9.039 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006507/0.6602, allocations: 378.5 kB / 0.5712 GB, free: 8.672 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.6611, allocations: 0.5835 MB / 0.5718 GB, free: 8.027 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6611, allocations: 0 / 0.5718 GB, free: 8.027 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.6612, allocations: 7.984 kB / 0.5718 GB, free: 8.02 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/0.6613, allocations: 40.75 kB / 0.5718 GB, free: 7.98 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.6644, allocations: 2.957 MB / 0.5747 GB, free: 4.863 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.6649, allocations: 249.3 kB / 0.5749 GB, free: 4.602 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6651, allocations: 141.7 kB / 0.5751 GB, free: 4.457 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.6651, allocations: 7.938 kB / 0.5751 GB, free: 4.449 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6652, allocations: 38.56 kB / 0.5751 GB, free: 4.402 MB / 411.1 MB Notification: Performance of pre-optimization done (n=27): time 2.625e-06/0.6652, allocations: 0 / 0.5751 GB, free: 4.402 MB / 411.1 MB Notification: Performance of matching and sorting (n=28): time 0.001594/0.6668, allocations: 0.8714 MB / 0.576 GB, free: 3.477 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.6668, allocations: 85.14 kB / 0.576 GB, free: 3.375 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.6672, allocations: 265 kB / 0.5763 GB, free: 3.105 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6672, allocations: 29.7 kB / 0.5763 GB, free: 3.07 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.6674, allocations: 279.2 kB / 0.5766 GB, free: 2.793 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.77e-05/0.6675, allocations: 94.64 kB / 0.5767 GB, free: 2.699 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.6675, allocations: 0 / 0.5767 GB, free: 2.699 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6677, allocations: 346.8 kB / 0.577 GB, free: 2.352 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6679, allocations: 137 kB / 0.5771 GB, free: 2.219 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.6683, allocations: 314.4 kB / 0.5774 GB, free: 1.828 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.6686, allocations: 200.8 kB / 0.5776 GB, free: 1.633 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6686, allocations: 4 kB / 0.5776 GB, free: 1.629 MB / 411.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001089/0.6697, allocations: 0.5724 MB / 0.5782 GB, free: 1.043 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6698, allocations: 8 kB / 0.5782 GB, free: 1.035 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000658/0.6704, allocations: 359.1 kB / 0.5786 GB, free: 0.6797 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.6709, allocations: 113.6 kB / 0.5787 GB, free: 0.5625 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.6713, allocations: 91.77 kB / 0.5787 GB, free: 484 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.6743, allocations: 2.888 MB / 0.5816 GB, free: 13.36 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.6747, allocations: 15.98 kB / 0.5816 GB, free: 13.34 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.6748, allocations: 20 kB / 0.5816 GB, free: 13.32 MB / 427.1 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.0002313/0.675, allocations: 116.8 kB / 0.5817 GB, free: 13.2 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006018/0.6756, allocations: 317.3 kB / 0.582 GB, free: 12.88 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.6757, allocations: 35.58 kB / 0.582 GB, free: 12.85 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000652/0.6763, allocations: 357.8 kB / 0.5824 GB, free: 12.49 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.6764, allocations: 8 kB / 0.5824 GB, free: 12.48 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.6764, allocations: 0 / 0.5824 GB, free: 12.48 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.6764, allocations: 3.984 kB / 0.5824 GB, free: 12.48 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.6777, allocations: 0.7932 MB / 0.5832 GB, free: 11.63 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6777, allocations: 0 / 0.5832 GB, free: 11.63 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.6782, allocations: 63.89 kB / 0.5832 GB, free: 11.57 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.6782, allocations: 4 kB / 0.5832 GB, free: 11.57 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.6782, allocations: 8 kB / 0.5832 GB, free: 11.56 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6782, allocations: 0 / 0.5832 GB, free: 11.56 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.6782, allocations: 4 kB / 0.5833 GB, free: 11.55 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.6791, allocations: 0.6007 MB / 0.5838 GB, free: 10.91 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.6793, allocations: 128.8 kB / 0.584 GB, free: 10.77 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.6794, allocations: 4 kB / 0.584 GB, free: 10.76 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6796, allocations: 11.94 kB / 0.584 GB, free: 10.75 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.6796, allocations: 23.97 kB / 0.584 GB, free: 10.73 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.6797, allocations: 8 kB / 0.584 GB, free: 10.72 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.6799, allocations: 200.5 kB / 0.5842 GB, free: 10.52 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6799, allocations: 0 / 0.5842 GB, free: 10.52 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006791/0.6806, allocations: 115.9 kB / 0.5843 GB, free: 10.41 MB / 427.1 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.001286/0.6819, allocations: 1.375 MB / 0.5857 GB, free: 8.988 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6829, allocations: 0.5712 MB / 0.5862 GB, free: 8.398 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6829, allocations: 0 / 0.5862 GB, free: 8.398 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.6831, allocations: 143.9 kB / 0.5863 GB, free: 8.258 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.6836, allocations: 59.42 kB / 0.5864 GB, free: 8.203 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6853, allocations: 0.9005 MB / 0.5873 GB, free: 7.254 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6859, allocations: 0.8815 MB / 0.5881 GB, free: 6.348 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.6862, allocations: 111.2 kB / 0.5883 GB, free: 6.242 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6864, allocations: 143.4 kB / 0.5884 GB, free: 6.102 MB / 427.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6864, allocations: 4 kB / 0.5884 GB, free: 6.098 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.718, allocations: 7.019 MB / 0.5952 GB, free: 15.09 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.7184, allocations: 151.9 kB / 0.5954 GB, free: 14.89 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.95, allocations: 0 / 0.5954 GB, free: 14.89 MB / 443.1 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