Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 106.3 kB / 17.74 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.001279/0.001279, 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.342/1.342, 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.1842/0.1842, allocations: 38.04 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, allocations: 58.05 MB / 0.5048 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.008012/0.2907, allocations: 7.551 MB / 0.5121 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007491/0.2982, allocations: 5.12 MB / 0.5171 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009699/0.2992, allocations: 34.56 kB / 0.5172 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.3119, allocations: 5.601 MB / 0.5226 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.3141, allocations: 0.5465 MB / 0.5232 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.316, allocations: 0.5853 MB / 0.5237 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.3202, allocations: 2.599 MB / 0.5263 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.3225, allocations: 1.287 MB / 0.5275 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.324, allocations: 0.7284 MB / 0.5283 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.3255, allocations: 0.852 MB / 0.5291 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.3259, allocations: 143.8 kB / 0.5292 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007233/0.3266, allocations: 219.9 kB / 0.5294 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.3273, allocations: 0.519 MB / 0.5299 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3285, allocations: 0.6966 MB / 0.5306 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3309, allocations: 1.9 MB / 0.5325 GB, free: 8.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3309, allocations: 0 / 0.5325 GB, free: 8.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3309, allocations: 0 / 0.5325 GB, free: 8.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.454e-05/0.331, allocations: 0 / 0.5325 GB, free: 8.191 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.004708/0.3357, allocations: 1.694 MB / 0.5341 GB, free: 6.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3357, allocations: 9.219 kB / 0.5341 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.3364, allocations: 156.2 kB / 0.5343 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.339, allocations: 1.086 MB / 0.5354 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.3391, allocations: 70.58 kB / 0.5354 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.3393, allocations: 94.02 kB / 0.5355 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.3417, allocations: 1.332 MB / 0.5368 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.3418, allocations: 5.906 kB / 0.5368 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.3419, allocations: 36.97 kB / 0.5368 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003679/0.3423, allocations: 92.61 kB / 0.5369 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.3444, allocations: 1.144 MB / 0.5381 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/0.3526, allocations: 4.9 MB / 0.5428 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3542, allocations: 0.9451 MB / 0.5438 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/0.3551, allocations: 0.5233 MB / 0.5443 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.3552, allocations: 18.44 kB / 0.5443 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.3562, allocations: 0.6234 MB / 0.5449 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=79): time 3.046e-06/0.3562, allocations: 0 / 0.5449 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.009506/0.3657, allocations: 4.163 MB / 0.549 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.3658, allocations: 162.9 kB / 0.5491 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.367, allocations: 0.8488 MB / 0.5499 GB, free: 9.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.3671, allocations: 41.7 kB / 0.55 GB, free: 9.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.3675, allocations: 0.5113 MB / 0.5505 GB, free: 9.277 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.3678, allocations: 295.8 kB / 0.5508 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.3682, allocations: 182.5 kB / 0.5509 GB, free: 8.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3683, allocations: 345.9 kB / 0.5513 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/0.3691, allocations: 488.6 kB / 0.5517 GB, free: 7.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.3701, allocations: 0.7169 MB / 0.5524 GB, free: 7.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.372, allocations: 1.222 MB / 0.5536 GB, free: 5.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.372, allocations: 4 kB / 0.5536 GB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.009436/0.3814, allocations: 2.891 MB / 0.5565 GB, free: 2.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.3815, allocations: 15.92 kB / 0.5565 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3815, allocations: 11.94 kB / 0.5565 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0091/0.3906, allocations: 1.881 MB / 0.5583 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.3913, allocations: 143.8 kB / 0.5585 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.4138, allocations: 12.52 MB / 0.5707 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4148, allocations: 55.88 kB / 0.5707 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.415, allocations: 51.89 kB / 0.5708 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001355/0.4164, allocations: 0.7556 MB / 0.5715 GB, free: 3.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009376/0.4173, allocations: 0.6974 MB / 0.5722 GB, free: 2.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001757/0.4191, allocations: 1.199 MB / 0.5734 GB, free: 1.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/0.4191, allocations: 4 kB / 0.5734 GB, free: 1.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.009261/0.4284, allocations: 2.817 MB / 0.5761 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4284, allocations: 16.25 kB / 0.5762 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4284, allocations: 8 kB / 0.5762 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009208/0.4377, allocations: 1.853 MB / 0.578 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.4384, allocations: 143.7 kB / 0.5781 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.4602, allocations: 12.31 MB / 0.5901 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4612, allocations: 51.91 kB / 0.5902 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.4614, allocations: 47.98 kB / 0.5902 GB, free: 15.53 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,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 (71): * Single equations (assignments): 69 * 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 {(9,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.4617, allocations: 240 kB / 0.5905 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.462, allocations: 102.8 kB / 0.5906 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.4654, allocations: 1.646 MB / 0.5922 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.4654, allocations: 7.969 kB / 0.5922 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4654, allocations: 0 / 0.5922 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.466, allocations: 263.7 kB / 0.5924 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.4662, allocations: 23.98 kB / 0.5924 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.4669, allocations: 51.95 kB / 0.5925 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4671, allocations: 72.83 kB / 0.5926 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004031/0.4711, allocations: 1.721 MB / 0.5942 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002929/0.4741, allocations: 2.031 MB / 0.5962 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007889/0.4749, allocations: 0.5308 MB / 0.5967 GB, free: 8.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008848/0.4758, allocations: 0.5776 MB / 0.5973 GB, free: 8.141 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/0.4758, allocations: 0 / 0.5973 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00808/0.4839, allocations: 3.257 MB / 0.6005 GB, free: 5.004 MB / 462.1 MB Notification: Performance of SimCode: time 0.005118/0.489, allocations: 3.292 MB / 0.6037 GB, free: 1.664 MB / 462.1 MB Notification: Performance of Templates: time 0.05382/0.5429, allocations: 35.07 MB / 0.638 GB, free: 14.74 MB / 0.4981 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1)