Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110.4 kB / 17.74 MB, free: 5.332 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.001681/0.001681, allocations: 197.2 kB / 18.68 MB, free: 4.398 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1775/0.1775, allocations: 38.02 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 458.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 58.06 MB / 0.5048 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006704/0.2846, allocations: 7.114 MB / 0.5117 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.2909, allocations: 5.076 MB / 0.5167 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.2914, allocations: 31.94 kB / 0.5167 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.3023, allocations: 5.717 MB / 0.5223 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3037, allocations: 0.5193 MB / 0.5228 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.305, allocations: 0.4901 MB / 0.5233 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.3078, allocations: 2.244 MB / 0.5255 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3089, allocations: 0.9447 MB / 0.5264 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00088/0.3098, allocations: 0.6027 MB / 0.527 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.3108, allocations: 0.7306 MB / 0.5277 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.311, allocations: 99.44 kB / 0.5278 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.3115, allocations: 255.7 kB / 0.528 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.312, allocations: 0.4913 MB / 0.5285 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.3126, allocations: 0.5744 MB / 0.5291 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.3144, allocations: 1.555 MB / 0.5306 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3144, allocations: 0 / 0.5306 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3144, allocations: 0 / 0.5306 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.3145, allocations: 0 / 0.5306 GB, free: 9.648 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002885/0.3174, allocations: 1.491 MB / 0.532 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3174, allocations: 11.27 kB / 0.5321 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.318, allocations: 155.4 kB / 0.5322 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.3196, allocations: 0.9182 MB / 0.5331 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.3197, allocations: 62.77 kB / 0.5332 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.3198, allocations: 83.83 kB / 0.5332 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3216, allocations: 1.236 MB / 0.5344 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.3216, allocations: 6.578 kB / 0.5345 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.3217, allocations: 40.2 kB / 0.5345 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/0.322, allocations: 88 kB / 0.5346 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.3236, allocations: 1.004 MB / 0.5356 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006171/0.3297, allocations: 4.907 MB / 0.5403 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.3307, allocations: 0.6448 MB / 0.541 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.3312, allocations: 352.1 kB / 0.5413 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.3313, allocations: 16.36 kB / 0.5413 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.3319, allocations: 455.8 kB / 0.5418 GB, free: 1.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.332, allocations: 0 / 0.5418 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004532/0.3365, allocations: 2.749 MB / 0.5444 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.3366, allocations: 111.4 kB / 0.5446 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.3374, allocations: 0.739 MB / 0.5453 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3375, allocations: 45.7 kB / 0.5453 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.3378, allocations: 0.5077 MB / 0.5458 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.338, allocations: 249.9 kB / 0.5461 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.3383, allocations: 178.6 kB / 0.5462 GB, free: 13.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3385, allocations: 398.7 kB / 0.5466 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.3391, allocations: 377.8 kB / 0.547 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.3398, allocations: 0.6578 MB / 0.5476 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.3411, allocations: 1.049 MB / 0.5486 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3412, allocations: 4 kB / 0.5486 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002867/0.344, allocations: 1.635 MB / 0.5502 GB, free: 9.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3441, allocations: 12 kB / 0.5502 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3441, allocations: 8 kB / 0.5502 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.3456, allocations: 485.8 kB / 0.5507 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.3462, allocations: 171.7 kB / 0.5509 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/0.3554, allocations: 7.097 MB / 0.5578 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.3561, allocations: 47.97 kB / 0.5579 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.3562, allocations: 44 kB / 0.5579 GB, free: 1.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004803/0.3566, allocations: 353.5 kB / 0.5582 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3568, allocations: 91.39 kB / 0.5583 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.3586, allocations: 1.118 MB / 0.5594 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3586, allocations: 0 / 0.5594 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3586, allocations: 0 / 0.5594 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.3589, allocations: 216.5 kB / 0.5596 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.359, allocations: 19.98 kB / 0.5596 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3594, allocations: 27.98 kB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3596, allocations: 56.47 kB / 0.5597 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002558/0.3621, allocations: 1.183 MB / 0.5609 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001705/0.3638, allocations: 1.412 MB / 0.5623 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004831/0.3643, allocations: 356.4 kB / 0.5626 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.3649, allocations: 0.5146 MB / 0.5631 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Backend: time 4.41e-07/0.365, allocations: 0 / 0.5631 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.3683, allocations: 1.566 MB / 0.5646 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 0.003793/0.3722, allocations: 3.113 MB / 0.5677 GB, free: 7.113 MB / 430.1 MB Notification: Performance of Templates: time 0.0245/0.3967, allocations: 16.23 MB / 0.5835 GB, free: 7 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1)