Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001158/0.001158, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1811/0.1811, allocations: 38.03 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 63.91 kB / 458.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3069, allocations: 58.05 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.007654/0.3145, allocations: 7.441 MB / 0.512 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.3223, allocations: 4.781 MB / 0.5167 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009702/0.3233, allocations: 36.22 kB / 0.5167 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01032/0.3337, allocations: 4.88 MB / 0.5215 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3353, allocations: 0.515 MB / 0.522 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3367, allocations: 0.4929 MB / 0.5225 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003144/0.3399, allocations: 2.38 MB / 0.5248 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.3416, allocations: 1.269 MB / 0.526 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3426, allocations: 0.6859 MB / 0.5267 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3437, allocations: 0.7847 MB / 0.5275 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.3439, allocations: 126.3 kB / 0.5276 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.3442, allocations: 134.1 kB / 0.5277 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.3447, allocations: 459.4 kB / 0.5282 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.3453, allocations: 0.618 MB / 0.5288 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3469, allocations: 1.618 MB / 0.5303 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3469, allocations: 6.125 kB / 0.5304 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3469, allocations: 0 / 0.5304 GB, free: 9.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.347, allocations: 0 / 0.5304 GB, free: 9.195 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00302/0.35, allocations: 1.44 MB / 0.5318 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.35, allocations: 12.61 kB / 0.5318 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.3505, allocations: 133 kB / 0.5319 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3524, allocations: 0.9091 MB / 0.5328 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.3524, allocations: 65.25 kB / 0.5329 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.3526, allocations: 99.09 kB / 0.5329 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.3546, allocations: 1.223 MB / 0.5341 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.3546, allocations: 2.094 kB / 0.5341 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3547, allocations: 36.73 kB / 0.5342 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.355, allocations: 73.86 kB / 0.5342 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3568, allocations: 1.001 MB / 0.5352 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006479/0.3633, allocations: 4.4 MB / 0.5395 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.3648, allocations: 0.8755 MB / 0.5404 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.3655, allocations: 445 kB / 0.5408 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.3656, allocations: 20.41 kB / 0.5408 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3656, allocations: 38.53 kB / 0.5409 GB, free: 1.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 3.006e-06/0.3656, allocations: 0 / 0.5409 GB, free: 1.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=72): time 0.006642/0.3723, allocations: 3.292 MB / 0.5441 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3724, allocations: 140.9 kB / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.3732, allocations: 0.6904 MB / 0.5449 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.3733, allocations: 40.3 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3736, allocations: 471.9 kB / 0.5454 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.3738, allocations: 266.4 kB / 0.5456 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.3741, allocations: 158.6 kB / 0.5458 GB, free: 13.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3742, allocations: 341.9 kB / 0.5461 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.3749, allocations: 380.6 kB / 0.5465 GB, free: 13.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.3757, allocations: 0.5905 MB / 0.547 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008056/0.3837, allocations: 2.364 MB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3838, allocations: 0 / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006075/0.3898, allocations: 2.008 MB / 0.5513 GB, free: 8.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3899, allocations: 8.312 kB / 0.5513 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3899, allocations: 11.98 kB / 0.5513 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004935/0.3948, allocations: 0.9923 MB / 0.5523 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.3954, allocations: 135.8 kB / 0.5524 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/0.4123, allocations: 9.999 MB / 0.5622 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.4131, allocations: 44.03 kB / 0.5622 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4132, allocations: 35.98 kB / 0.5623 GB, free: 12.56 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001093/0.4143, allocations: 0.6112 MB / 0.5629 GB, free: 11.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007675/0.4151, allocations: 0.5822 MB / 0.5634 GB, free: 11.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007957/0.4231, allocations: 2.325 MB / 0.5657 GB, free: 8.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.4231, allocations: 4 kB / 0.5657 GB, free: 8.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00575/0.4289, allocations: 1.934 MB / 0.5676 GB, free: 6.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4289, allocations: 8 kB / 0.5676 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4289, allocations: 4 kB / 0.5676 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004834/0.4338, allocations: 0.9816 MB / 0.5686 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.4343, allocations: 139.9 kB / 0.5687 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.4502, allocations: 9.765 MB / 0.5782 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.4511, allocations: 40.05 kB / 0.5783 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4512, allocations: 43.92 kB / 0.5783 GB, free: 11.6 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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 {(6,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.4515, allocations: 234.6 kB / 0.5785 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.4518, allocations: 98.81 kB / 0.5786 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.4542, allocations: 1.234 MB / 0.5798 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.4542, allocations: 3.984 kB / 0.5798 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4542, allocations: 0 / 0.5798 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.4548, allocations: 239.8 kB / 0.5801 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.455, allocations: 20 kB / 0.5801 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.4556, allocations: 27.97 kB / 0.5801 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4558, allocations: 56.56 kB / 0.5802 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00293/0.4587, allocations: 1.361 MB / 0.5815 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002456/0.4612, allocations: 1.72 MB / 0.5832 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006467/0.4618, allocations: 428.9 kB / 0.5836 GB, free: 6.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.4625, allocations: 479 kB / 0.584 GB, free: 5.613 MB / 446.1 MB Notification: Performance of Backend: time 4.51e-07/0.4625, allocations: 0 / 0.584 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005479/0.468, allocations: 2.354 MB / 0.5863 GB, free: 3.203 MB / 446.1 MB Notification: Performance of SimCode: time 0.004193/0.4722, allocations: 2.806 MB / 0.5891 GB, free: 364 kB / 446.1 MB Notification: Performance of Templates: time 0.04233/0.5146, allocations: 26.77 MB / 0.6152 GB, free: 5.727 MB / 478.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe 2>&1)