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.002132/0.002132, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.002569/0.002569, allocations: 197.3 kB / 18.21 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.374/2.374, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.484/0.484, allocations: 38.01 MB / 330.1 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 66.45 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2111, allocations: 58.07 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.0147/0.2259, allocations: 6.218 MB / 463.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.243, allocations: 4.414 MB / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2443, allocations: 31.81 kB / 467.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02013/0.2645, allocations: 4.914 MB / 472.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.2665, allocations: 314.6 kB / 472.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.2678, allocations: 231.6 kB / 473.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.2721, allocations: 1.602 MB / 474.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.2734, allocations: 400.2 kB / 475.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/0.2787, allocations: 378.5 kB / 475.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.2802, allocations: 478.3 kB / 475.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2804, allocations: 48 kB / 476 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.2809, allocations: 123.8 kB / 476.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.2814, allocations: 283.3 kB / 476.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005647/0.282, allocations: 322.4 kB / 476.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.2831, allocations: 0.569 MB / 477.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2832, allocations: 0 / 477.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.2832, allocations: 0 / 477.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2832, allocations: 0 / 477.3 MB, free: 4.059 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.002876/0.2861, allocations: 0.9017 MB / 478.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.481e-05/0.2862, allocations: 19.83 kB / 478.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000715/0.2869, allocations: 92.05 kB / 478.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2885, allocations: 0.5371 MB / 478.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.2886, allocations: 36.97 kB / 478.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2887, allocations: 48 kB / 478.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.2903, allocations: 0.6453 MB / 479.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.2904, allocations: 15.94 kB / 479.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.2905, allocations: 16 kB / 479.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.2907, allocations: 48.95 kB / 479.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.2921, allocations: 491.6 kB / 480.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.2979, allocations: 2.539 MB / 482.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.3031, allocations: 323.5 kB / 483 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.3036, allocations: 174.6 kB / 483.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.3037, allocations: 4.5 kB / 483.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/0.3038, allocations: 46.55 kB / 483.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 4.318e-06/0.3038, allocations: 3.938 kB / 483.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.004427/0.3082, allocations: 1.63 MB / 484.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.3083, allocations: 110.8 kB / 484.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/0.3092, allocations: 425.8 kB / 485.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3093, allocations: 29.7 kB / 485.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.3096, allocations: 311.5 kB / 485.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.3098, allocations: 122.3 kB / 485.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3101, allocations: 86.19 kB / 485.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.3104, allocations: 370.7 kB / 486.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.3108, allocations: 161 kB / 486.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.3114, allocations: 301.8 kB / 486.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3125, allocations: 491.7 kB / 487.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3126, allocations: 4 kB / 487.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00238/0.3149, allocations: 0.7994 MB / 488 MB, free: 8.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.315, allocations: 8 kB / 488 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.315, allocations: 7.938 kB / 488 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3162, allocations: 205.7 kB / 488.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.3167, allocations: 71.89 kB / 488.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.3291, allocations: 4.237 MB / 492.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.3298, allocations: 23.92 kB / 492.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.33, allocations: 16 kB / 492.5 MB, free: 3.852 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.0006724/0.3307, allocations: 221.7 kB / 492.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.331, allocations: 43.44 kB / 492.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.3328, allocations: 0.6457 MB / 493.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.3328, allocations: 4 kB / 493.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3329, allocations: 3.938 kB / 493.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3329, allocations: 0 / 493.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.336, allocations: 1.191 MB / 494.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3361, allocations: 3.984 kB / 494.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.3368, allocations: 75.89 kB / 494.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.3372, allocations: 57.67 kB / 494.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.3372, allocations: 15.98 kB / 494.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.3411, allocations: 2.835 MB / 497.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.3411, allocations: 4.031 kB / 497.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.3432, allocations: 0.949 MB / 498.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.3436, allocations: 152.4 kB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.3438, allocations: 11.98 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.3443, allocations: 8 kB / 498.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3444, allocations: 31.89 kB / 498.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.3445, allocations: 12 kB / 498.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000705/0.3452, allocations: 291.1 kB / 499.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3452, allocations: 4 kB / 499.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005444/0.3507, allocations: 136 kB / 499.2 MB, free: 12.64 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.0003543/0.3511, allocations: 107.2 kB / 499.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.3539, allocations: 0.7909 MB / 0.4884 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.354, allocations: 0 / 0.4884 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009977/0.355, allocations: 425.9 kB / 0.4888 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.3566, allocations: 117 kB / 0.4889 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.3616, allocations: 1.748 MB / 0.4906 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.3629, allocations: 0.9405 MB / 0.4915 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.3633, allocations: 39.42 kB / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.605e-06/0.3633, allocations: 0 / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of Templates: time 0.02978/0.3931, allocations: 11.28 MB / 0.5026 GB, free: 13.09 MB / 398.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)