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.001098/0.001098, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.183/1.183, 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.0008903/0.0008903, allocations: 91.27 kB / 270.8 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1843/0.1843, allocations: 38.07 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 12 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2228, allocations: 56.32 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3359, allocations: 102.1 MB / 0.5688 GB, free: 352 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.3361, allocations: 91.95 kB / 0.5689 GB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0371/0.3733, allocations: 14.63 MB / 0.5832 GB, free: 1.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3733, allocations: 0 / 0.5832 GB, free: 1.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.3733, allocations: 12 kB / 0.5832 GB, free: 1.43 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001082/0.3744, allocations: 0.7269 MB / 0.5839 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3745, allocations: 15.97 kB / 0.5839 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.175e-05/0.3745, allocations: 90.5 kB / 0.584 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.3751, allocations: 91.28 kB / 0.5841 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.377, allocations: 0.8577 MB / 0.5849 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.377, allocations: 25 kB / 0.585 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.3771, allocations: 43.91 kB / 0.585 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.378, allocations: 0.6441 MB / 0.5856 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.378, allocations: 7.938 kB / 0.5856 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.3781, allocations: 15.98 kB / 0.5857 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/0.3781, allocations: 40.97 kB / 0.5857 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.3788, allocations: 467.5 kB / 0.5861 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.3815, allocations: 3.052 MB / 0.5891 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3819, allocations: 253.3 kB / 0.5894 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.382, allocations: 12.03 kB / 0.5894 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.382, allocations: 34.56 kB / 0.5894 GB, free: 10.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/0.382, allocations: 0 / 0.5894 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001477/0.3835, allocations: 1.093 MB / 0.5905 GB, free: 9.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3835, allocations: 81.11 kB / 0.5905 GB, free: 9.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3838, allocations: 287.6 kB / 0.5908 GB, free: 9.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3838, allocations: 29.7 kB / 0.5908 GB, free: 9.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.384, allocations: 283.2 kB / 0.5911 GB, free: 8.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.3841, allocations: 98.56 kB / 0.5912 GB, free: 8.742 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.3841, allocations: 8 kB / 0.5912 GB, free: 8.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3842, allocations: 342.8 kB / 0.5915 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.3844, allocations: 148.9 kB / 0.5917 GB, free: 8.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.3847, allocations: 323.3 kB / 0.592 GB, free: 7.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.385, allocations: 204.8 kB / 0.5922 GB, free: 7.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.385, allocations: 4 kB / 0.5922 GB, free: 7.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001029/0.3861, allocations: 0.6234 MB / 0.5928 GB, free: 7.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3861, allocations: 11.98 kB / 0.5928 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006317/0.3867, allocations: 378.4 kB / 0.5932 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3871, allocations: 118 kB / 0.5933 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3874, allocations: 91.81 kB / 0.5934 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3899, allocations: 3.053 MB / 0.5964 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.3902, allocations: 24.11 kB / 0.5964 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3902, allocations: 23.98 kB / 0.5964 GB, free: 3.039 MB / 426.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 () * Number of clocked 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.000293/0.3905, allocations: 213.6 kB / 0.5966 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3906, allocations: 35.53 kB / 0.5966 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.3912, allocations: 369.4 kB / 0.597 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3912, allocations: 12 kB / 0.597 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3912, allocations: 0 / 0.597 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3913, allocations: 0 / 0.597 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3925, allocations: 0.8865 MB / 0.5979 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3925, allocations: 4 kB / 0.5979 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.3929, allocations: 59.95 kB / 0.5979 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3929, allocations: 4.062 kB / 0.5979 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3929, allocations: 8 kB / 0.5979 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.393, allocations: 7.938 kB / 0.598 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.393, allocations: 0 / 0.598 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.3937, allocations: 0.6125 MB / 0.5986 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3938, allocations: 144.5 kB / 0.5987 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.3939, allocations: 8 kB / 0.5987 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3941, allocations: 15.98 kB / 0.5987 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3941, allocations: 23.91 kB / 0.5987 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3941, allocations: 12 kB / 0.5987 GB, free: 0.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3944, allocations: 211 kB / 0.5989 GB, free: 304 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3944, allocations: 4 kB / 0.599 GB, free: 300 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.3949, allocations: 120 kB / 0.5991 GB, free: 180 kB / 426.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 () * Number of clocked 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.001001/0.3959, allocations: 1.395 MB / 0.6004 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.3967, allocations: 0.6256 MB / 0.601 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3967, allocations: 0 / 0.601 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3969, allocations: 147.9 kB / 0.6012 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3973, allocations: 60.94 kB / 0.6012 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.4016, allocations: 6.559 MB / 0.6076 GB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.402, allocations: 0.8853 MB / 0.6085 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.4023, allocations: 111.2 kB / 0.6086 GB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.4025, allocations: 147.4 kB / 0.6088 GB, free: 5.98 MB / 442.7 MB Notification: Performance of SimCode: time 2.385e-06/0.4025, allocations: 0 / 0.6088 GB, free: 5.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.4212, allocations: 7.545 MB / 0.6161 GB, free: 14.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.4213, allocations: 211.4 kB / 0.6163 GB, free: 14.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.255, allocations: 0 / 0.6163 GB, free: 14.26 MB / 458.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