Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 110.9 kB / 16.63 MB, free: 6.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 193.8 kB / 17.55 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 329.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.83 kB / 398.3 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 58.06 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.01341/0.1586, allocations: 6.217 MB / 462.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1709, allocations: 4.418 MB / 467 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009973/0.172, allocations: 35.75 kB / 467 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01547/0.1875, allocations: 4.91 MB / 471.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.1893, allocations: 318.6 kB / 472.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1905, allocations: 227.7 kB / 472.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.194, allocations: 1.614 MB / 474.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009708/0.195, allocations: 400.2 kB / 474.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.1958, allocations: 370.5 kB / 474.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.1967, allocations: 486.2 kB / 475.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1969, allocations: 44 kB / 475.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.1973, allocations: 123.8 kB / 475.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.1977, allocations: 283.3 kB / 475.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.1982, allocations: 314.4 kB / 476 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1994, allocations: 0.7436 MB / 476.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1994, allocations: 0 / 476.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1995, allocations: 0 / 476.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1995, allocations: 0 / 476.8 MB, free: 3.871 MB / 350.1 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.002525/0.202, allocations: 0.9057 MB / 477.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.2021, allocations: 11.89 kB / 477.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.2028, allocations: 96 kB / 477.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.2045, allocations: 0.541 MB / 478.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.2046, allocations: 37 kB / 478.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2047, allocations: 47.98 kB / 478.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.2064, allocations: 0.6492 MB / 479.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2064, allocations: 0 / 479.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.2065, allocations: 16 kB / 479.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/0.2068, allocations: 48.97 kB / 479.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.2081, allocations: 495.5 kB / 479.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.2138, allocations: 2.543 MB / 482.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.2147, allocations: 321.7 kB / 482.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.2152, allocations: 178.5 kB / 482.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.2152, allocations: 8.484 kB / 482.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.2153, allocations: 42.56 kB / 482.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 4.227e-06/0.2153, allocations: 0 / 482.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.004149/0.2195, allocations: 1.626 MB / 484.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.2196, allocations: 106.8 kB / 484.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.2203, allocations: 425.8 kB / 484.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2203, allocations: 33.7 kB / 484.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.2207, allocations: 311.5 kB / 485.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.2208, allocations: 122.3 kB / 485.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.2211, allocations: 94.19 kB / 485.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003451/0.2215, allocations: 362.7 kB / 485.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.222, allocations: 161 kB / 485.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.2226, allocations: 308.7 kB / 486.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2238, allocations: 491.7 kB / 486.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2238, allocations: 0 / 486.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002508/0.2264, allocations: 0.8032 MB / 487.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.2264, allocations: 4 kB / 487.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.2265, allocations: 4 kB / 487.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.2276, allocations: 213.7 kB / 487.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.2281, allocations: 67.89 kB / 487.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00686/0.235, allocations: 4.233 MB / 492 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.2356, allocations: 19.94 kB / 492 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.2357, allocations: 19.98 kB / 492 MB, free: 3.676 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005353/0.2362, allocations: 225.8 kB / 492.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.2364, allocations: 47.44 kB / 492.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.238, allocations: 0.6456 MB / 493 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.238, allocations: 4 kB / 493 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.238, allocations: 4 kB / 493 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2381, allocations: 3.984 kB / 493 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.2409, allocations: 1.187 MB / 494.2 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2409, allocations: 4 kB / 494.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.2417, allocations: 71.89 kB / 494.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.242, allocations: 53.73 kB / 494.3 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.2421, allocations: 19.94 kB / 494.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.2446, allocations: 2.839 MB / 497.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2446, allocations: 3.984 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2457, allocations: 0.953 MB / 498.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.2459, allocations: 148.4 kB / 498.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.246, allocations: 8 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2463, allocations: 15.98 kB / 498.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.2463, allocations: 23.97 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2464, allocations: 15.98 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.2467, allocations: 295.1 kB / 498.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2467, allocations: 0 / 498.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006959/0.2474, allocations: 132 kB / 498.7 MB, free: 12.46 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.2476, allocations: 108.9 kB / 498.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.249, allocations: 0.7908 MB / 499.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.249, allocations: 0 / 499.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.2496, allocations: 422 kB / 0.4883 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.2503, allocations: 114.4 kB / 0.4884 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.2529, allocations: 1.71 MB / 0.4901 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/0.2536, allocations: 0.9366 MB / 0.491 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.254, allocations: 104.4 kB / 0.4911 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2541, allocations: 39.42 kB / 0.4911 GB, free: 8.133 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2541, allocations: 0 / 0.4911 GB, free: 8.133 MB / 382.1 MB Notification: Performance of Templates: time 0.01262/0.2668, allocations: 6.806 MB / 0.4978 GB, free: 1.387 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)