Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_cpp_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.001548/0.001548, allocations: 184.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001146/0.001145, allocations: 93.28 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2861/0.2861, allocations: 37.96 MB / 353.1 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.595e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 56.31 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5813, allocations: 102 MB / 0.5617 GB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.5817, allocations: 87.94 kB / 0.5618 GB, free: 1.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0701/0.6518, allocations: 14.6 MB / 0.576 GB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6519, allocations: 4 kB / 0.576 GB, free: 2.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.85e-05/0.652, allocations: 8 kB / 0.576 GB, free: 2.754 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.002644/0.6546, allocations: 0.6758 MB / 0.5767 GB, free: 2.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.6547, allocations: 12.03 kB / 0.5767 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/0.655, allocations: 82.52 kB / 0.5768 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.6564, allocations: 91.38 kB / 0.5769 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.6612, allocations: 0.8574 MB / 0.5777 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.6614, allocations: 29 kB / 0.5777 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.6615, allocations: 43.98 kB / 0.5778 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6636, allocations: 0.6329 MB / 0.5784 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.6637, allocations: 0 / 0.5784 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.6638, allocations: 16 kB / 0.5784 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.664, allocations: 44.77 kB / 0.5785 GB, free: 112 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.6657, allocations: 458.6 kB / 0.5789 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006875/0.6726, allocations: 3.036 MB / 0.5819 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.6737, allocations: 257.3 kB / 0.5821 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.6742, allocations: 153.1 kB / 0.5823 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.6743, allocations: 4 kB / 0.5823 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.6744, allocations: 38.56 kB / 0.5823 GB, free: 11.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.559e-06/0.6744, allocations: 0 / 0.5823 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.003242/0.6776, allocations: 0.9027 MB / 0.5832 GB, free: 11.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.6778, allocations: 81.11 kB / 0.5833 GB, free: 10.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.6785, allocations: 278.6 kB / 0.5835 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.6786, allocations: 33.7 kB / 0.5836 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.6789, allocations: 338 kB / 0.5839 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.6791, allocations: 98.66 kB / 0.584 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.6792, allocations: 7.984 kB / 0.584 GB, free: 10.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6794, allocations: 334.8 kB / 0.5843 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.6799, allocations: 141 kB / 0.5844 GB, free: 9.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.6807, allocations: 323.3 kB / 0.5847 GB, free: 9.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.6815, allocations: 204.8 kB / 0.5849 GB, free: 9.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6815, allocations: 0 / 0.5849 GB, free: 9.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002629/0.6841, allocations: 0.6038 MB / 0.5855 GB, free: 8.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.6842, allocations: 11.91 kB / 0.5855 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001693/0.686, allocations: 383 kB / 0.5859 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/0.6869, allocations: 113.6 kB / 0.586 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.6878, allocations: 83.83 kB / 0.5861 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.6937, allocations: 3.022 MB / 0.589 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.6945, allocations: 19.98 kB / 0.5891 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.6946, allocations: 23.98 kB / 0.5891 GB, free: 4.562 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 () * 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.0002377/0.6949, allocations: 132.8 kB / 0.5892 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.695, allocations: 31.62 kB / 0.5892 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.6966, allocations: 369.5 kB / 0.5896 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/0.6966, allocations: 11.98 kB / 0.5896 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6967, allocations: 0 / 0.5896 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6967, allocations: 0 / 0.5896 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.6997, allocations: 0.8752 MB / 0.5905 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6997, allocations: 8.062 kB / 0.5905 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7008, allocations: 67.89 kB / 0.5905 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.7009, allocations: 3.984 kB / 0.5905 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.7009, allocations: 4 kB / 0.5905 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.7009, allocations: 4 kB / 0.5905 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.701, allocations: 0 / 0.5905 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.7027, allocations: 0.6124 MB / 0.5911 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.703, allocations: 132.7 kB / 0.5913 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.703, allocations: 11.98 kB / 0.5913 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.7034, allocations: 16.22 kB / 0.5913 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.7035, allocations: 19.97 kB / 0.5913 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.7035, allocations: 12 kB / 0.5913 GB, free: 2.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003419/0.7039, allocations: 214.2 kB / 0.5915 GB, free: 1.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7039, allocations: 0 / 0.5915 GB, free: 1.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.7046, allocations: 119.9 kB / 0.5916 GB, free: 1.797 MB / 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 () * 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.001815/0.7065, allocations: 1.399 MB / 0.593 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.708, allocations: 0.6112 MB / 0.5936 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7081, allocations: 3.938 kB / 0.5936 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.7084, allocations: 151.8 kB / 0.5938 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.709, allocations: 65.73 kB / 0.5938 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.7117, allocations: 0.9788 MB / 0.5948 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.7123, allocations: 0.8816 MB / 0.5956 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.7127, allocations: 151.4 kB / 0.5958 GB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7127, allocations: 0 / 0.5958 GB, free: 13.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/3.819, allocations: 8.633 MB / 0.6042 GB, free: 4.77 MB / 442.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)