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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001045/0.001045, allocations: 94.97 kB / 16.65 MB, free: 6.586 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.001213/0.001213, allocations: 181.1 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1879/0.1879, allocations: 38.05 MB / 310.1 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006137/0.0006139, allocations: 20.56 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3008, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00603/0.3069, allocations: 5.808 MB / 439.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.3128, allocations: 4.52 MB / 443.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.3136, allocations: 35.75 kB / 443.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007734/0.3214, allocations: 4.575 MB / 448.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3224, allocations: 330.6 kB / 448.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.3232, allocations: 223.6 kB / 449 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.3256, allocations: 2.136 MB / 451.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009738/0.3266, allocations: 0.5317 MB / 451.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.3272, allocations: 306.6 kB / 451.9 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009443/0.3282, allocations: 458.3 kB / 452.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3283, allocations: 24 kB / 452.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.3287, allocations: 111.8 kB / 452.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.3291, allocations: 255.3 kB / 452.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.3296, allocations: 316.1 kB / 453.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.3305, allocations: 0.7123 MB / 453.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3305, allocations: 0 / 453.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3305, allocations: 4 kB / 453.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.506e-05/0.3306, allocations: 0 / 453.8 MB, free: 14.41 MB / 334.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.001813/0.3324, allocations: 0.7927 MB / 454.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3325, allocations: 12.03 kB / 454.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.333, allocations: 96.05 kB / 454.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.3342, allocations: 0.5293 MB / 455.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.3343, allocations: 33 kB / 455.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3344, allocations: 59.88 kB / 455.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3356, allocations: 0.6452 MB / 456 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.3356, allocations: 0 / 456 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.3357, allocations: 23.98 kB / 456 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.3359, allocations: 52.95 kB / 456 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009338/0.3368, allocations: 495.6 kB / 456.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.3408, allocations: 2.539 MB / 459.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.3414, allocations: 315.6 kB / 459.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3417, allocations: 183 kB / 459.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3418, allocations: 7.938 kB / 459.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3418, allocations: 46.55 kB / 459.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3418, allocations: 0 / 459.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002913/0.3447, allocations: 1.622 MB / 461.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.3448, allocations: 118.9 kB / 461.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.3454, allocations: 425.8 kB / 461.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.3454, allocations: 33.7 kB / 461.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.3457, allocations: 299.6 kB / 462.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3458, allocations: 126.2 kB / 462.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.3459, allocations: 45.69 kB / 462.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3461, allocations: 362.7 kB / 462.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3464, allocations: 161 kB / 462.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.3467, allocations: 301.8 kB / 463.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3474, allocations: 0.4916 MB / 463.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3474, allocations: 0 / 463.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001385/0.3488, allocations: 0.7919 MB / 464.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3489, allocations: 8 kB / 464.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3489, allocations: 4.344 kB / 464.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.3496, allocations: 208.4 kB / 464.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3499, allocations: 79.81 kB / 464.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.3545, allocations: 3.888 MB / 468.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.3548, allocations: 27.89 kB / 468.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3549, allocations: 20 kB / 468.6 MB, free: 14.71 MB / 350.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.0003353/0.3552, allocations: 225.6 kB / 468.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3553, allocations: 51.38 kB / 468.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009742/0.3563, allocations: 0.6332 MB / 469.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3563, allocations: 7.984 kB / 469.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3564, allocations: 4 kB / 469.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3564, allocations: 0 / 469.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.3585, allocations: 1.206 MB / 470.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.3585, allocations: 0 / 470.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.359, allocations: 75.89 kB / 470.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.3592, allocations: 53.73 kB / 470.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.3593, allocations: 12 kB / 470.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3614, allocations: 2.634 MB / 473.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3614, allocations: 0 / 473.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3626, allocations: 0.9607 MB / 474.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.3629, allocations: 144.5 kB / 474.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.363, allocations: 12 kB / 474.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3633, allocations: 11.98 kB / 474.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.3634, allocations: 23.97 kB / 474.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.3634, allocations: 15.98 kB / 474.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004097/0.3639, allocations: 295.1 kB / 474.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3639, allocations: 0 / 474.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000759/0.3646, allocations: 132 kB / 475 MB, free: 7.711 MB / 350.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.0001721/0.3648, allocations: 111.1 kB / 475.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.3663, allocations: 0.739 MB / 475.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3663, allocations: 0.6875 kB / 475.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.3669, allocations: 421.2 kB / 476.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.3678, allocations: 114.4 kB / 476.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.3704, allocations: 1.847 MB / 478.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.3711, allocations: 0.9405 MB / 479.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.3714, allocations: 108.4 kB / 479.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3716, allocations: 35.42 kB / 479.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3716, allocations: 4 kB / 479.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of Templates: time 0.0131/0.3847, allocations: 6.412 MB / 485.8 MB, free: 12.89 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: