Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 172.2 kB / 15.77 MB, free: 6.32 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.587/1.587, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008776/0.0008776, allocations: 86.36 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1931/0.1931, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 56.34 MB / 479.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006543/0.1264, allocations: 5.518 MB / 484.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.1331, allocations: 4.141 MB / 488.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.1338, allocations: 31.75 kB / 488.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008235/0.1421, allocations: 4.387 MB / 493.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.1435, allocations: 386.1 kB / 493.5 MB, free: 3.527 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.1444, allocations: 231.5 kB / 493.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.1469, allocations: 1.809 MB / 495.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.1479, allocations: 0.5024 MB / 496.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.1485, allocations: 314.7 kB / 496.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007634/0.1493, allocations: 430.5 kB / 496.8 MB, free: 228 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1494, allocations: 24 kB / 496.8 MB, free: 204 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1497, allocations: 71.88 kB / 496.9 MB, free: 132 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.1501, allocations: 251.3 kB / 497.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.1503, allocations: 137.3 kB / 497.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007187/0.1511, allocations: 0.5533 MB / 497.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1511, allocations: 0 / 497.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1511, allocations: 0 / 497.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.487e-05/0.1511, allocations: 4 kB / 497.8 MB, free: 15.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001958/0.1531, allocations: 0.8003 MB / 498.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1531, allocations: 11.97 kB / 498.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005677/0.1537, allocations: 107.1 kB / 498.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.1548, allocations: 0.5132 MB / 499.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.1549, allocations: 36.98 kB / 499.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.155, allocations: 47.91 kB / 499.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.156, allocations: 0.6453 MB / 500 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.1561, allocations: 7.984 kB / 500 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.1561, allocations: 19.94 kB / 0.4883 GB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.1563, allocations: 48.91 kB / 0.4883 GB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.1571, allocations: 495.6 kB / 0.4888 GB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.1607, allocations: 2.535 MB / 0.4913 GB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.1612, allocations: 311.6 kB / 0.4916 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1615, allocations: 187 kB / 0.4918 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.1615, allocations: 8 kB / 0.4918 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1616, allocations: 42.5 kB / 0.4918 GB, free: 9.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.958e-06/0.1616, allocations: 0 / 0.4918 GB, free: 9.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002627/0.1642, allocations: 1.645 MB / 0.4934 GB, free: 7.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.1643, allocations: 106.8 kB / 0.4935 GB, free: 7.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.1648, allocations: 417.8 kB / 0.4939 GB, free: 6.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1648, allocations: 33.7 kB / 0.4939 GB, free: 6.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.165, allocations: 311.6 kB / 0.4942 GB, free: 6.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1651, allocations: 118.3 kB / 0.4943 GB, free: 6.289 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.1652, allocations: 8 kB / 0.4944 GB, free: 6.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1653, allocations: 362.8 kB / 0.4947 GB, free: 5.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1656, allocations: 161.1 kB / 0.4949 GB, free: 5.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.166, allocations: 301.8 kB / 0.4951 GB, free: 5.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.1663, allocations: 215.6 kB / 0.4953 GB, free: 5.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1663, allocations: 4 kB / 0.4954 GB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001321/0.1677, allocations: 0.7919 MB / 0.4961 GB, free: 4.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1677, allocations: 16.02 kB / 0.4961 GB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1677, allocations: 4 kB / 0.4961 GB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.1684, allocations: 205.5 kB / 0.4963 GB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1687, allocations: 71.89 kB / 0.4964 GB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/0.1733, allocations: 3.888 MB / 0.5002 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.1737, allocations: 19.98 kB / 0.5002 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.1738, allocations: 20 kB / 0.5002 GB, free: 15.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/0.1741, allocations: 225.7 kB / 0.5005 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1742, allocations: 51.42 kB / 0.5005 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009429/0.1751, allocations: 0.6333 MB / 0.5011 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1752, allocations: 12.02 kB / 0.5011 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1752, allocations: 4 kB / 0.5011 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1752, allocations: 0 / 0.5011 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.177, allocations: 1.191 MB / 0.5023 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.177, allocations: 7.953 kB / 0.5023 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.1775, allocations: 67.89 kB / 0.5024 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.1777, allocations: 57.73 kB / 0.5024 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1777, allocations: 15.92 kB / 0.5024 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.1796, allocations: 2.622 MB / 0.505 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1797, allocations: 4.031 kB / 0.505 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1808, allocations: 0.9567 MB / 0.5059 GB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.181, allocations: 148.4 kB / 0.5061 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.181, allocations: 11.98 kB / 0.5061 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1813, allocations: 12 kB / 0.5061 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.1814, allocations: 31.84 kB / 0.5061 GB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.1814, allocations: 20 kB / 0.5062 GB, free: 9.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.1817, allocations: 287.1 kB / 0.5064 GB, free: 9.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1818, allocations: 0 / 0.5064 GB, free: 9.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005684/0.1823, allocations: 132 kB / 0.5066 GB, free: 8.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.1825, allocations: 111.2 kB / 0.5067 GB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1837, allocations: 0.7204 MB / 0.5074 GB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1837, allocations: 0 / 0.5074 GB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.1843, allocations: 425.7 kB / 0.5078 GB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.185, allocations: 106.1 kB / 0.5079 GB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.1876, allocations: 1.878 MB / 0.5097 GB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.1882, allocations: 0.9444 MB / 0.5106 GB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1883, allocations: 39.44 kB / 0.5107 GB, free: 4.539 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1883, allocations: 0 / 0.5107 GB, free: 4.539 MB / 362.7 MB Notification: Performance of Templates: time 0.213/0.4014, allocations: 11.19 MB / 0.5216 GB, free: 51.74 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)