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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2597/0.2597, allocations: 29.42 MB / 290.9 MB, free: 2.5 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.518e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006705/0.00673, allocations: 6.761 MB / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006802/0.01353, allocations: 5.079 MB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.01434, allocations: 39.69 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009208/0.02354, allocations: 6.467 MB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.02487, allocations: 0.5787 MB / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.02594, allocations: 0.5103 MB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.02826, allocations: 2.444 MB / 391.5 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.0297, allocations: 0.8884 MB / 392.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.03082, allocations: 0.869 MB / 393.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.03162, allocations: 0.6779 MB / 393.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.03178, allocations: 100 kB / 394 MB, free: 2.496 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.03236, allocations: 303.5 kB / 394.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.03272, allocations: 0.526 MB / 394.9 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.03307, allocations: 399.1 kB / 395.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.03436, allocations: 1.113 MB / 396.4 MB, free: 168 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.03436, allocations: 0 / 396.4 MB, free: 168 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.03437, allocations: 4 kB / 396.4 MB, free: 164 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.03439, allocations: 0 / 396.4 MB, free: 164 kB / 362.7 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.002074/0.03647, allocations: 1.526 MB / 397.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.03651, allocations: 11.98 kB / 397.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.03712, allocations: 272 kB / 398.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.03817, allocations: 0.8609 MB / 399 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.03821, allocations: 61.98 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.03832, allocations: 87.98 kB / 399.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.03956, allocations: 0.877 MB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.03959, allocations: 15.89 kB / 400.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.03965, allocations: 31.98 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.03977, allocations: 89.94 kB / 400.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.04045, allocations: 447.4 kB / 400.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.04426, allocations: 4.887 MB / 405.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.04475, allocations: 348.6 kB / 405.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.045, allocations: 176.8 kB / 406 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.04504, allocations: 8.5 kB / 406 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.04539, allocations: 307.5 kB / 406.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.023e-06/0.04539, allocations: 0 / 406.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002602/0.048, allocations: 1.608 MB / 408 MB, free: 4.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.04805, allocations: 115.5 kB / 408.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.04861, allocations: 0.7061 MB / 408.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.04865, allocations: 37.7 kB / 408.8 MB, free: 3.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.04893, allocations: 0.5768 MB / 409.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.04907, allocations: 249.9 kB / 409.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.04927, allocations: 188.2 kB / 409.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.04948, allocations: 0.582 MB / 410.4 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.04975, allocations: 149.9 kB / 410.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.05021, allocations: 0.5775 MB / 411.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.05095, allocations: 0.7533 MB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.05096, allocations: 8 kB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001509/0.05247, allocations: 1.046 MB / 412.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.05249, allocations: 11.94 kB / 412.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.0525, allocations: 8 kB / 412.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.05377, allocations: 427.5 kB / 413.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.05411, allocations: 171.7 kB / 413.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.05901, allocations: 5.56 MB / 419.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.0594, allocations: 47.97 kB / 419.1 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.05945, allocations: 43.98 kB / 419.2 MB, free: 8.184 MB / 394.7 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.000268/0.05972, allocations: 220.2 kB / 419.4 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.05983, allocations: 107.4 kB / 419.5 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/0.06069, allocations: 0.6259 MB / 420.1 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.06069, allocations: 8 kB / 420.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0607, allocations: 0 / 420.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.0607, allocations: 0 / 420.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.06296, allocations: 1.442 MB / 421.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.06296, allocations: 0 / 421.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.06334, allocations: 128 kB / 421.7 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.06362, allocations: 130.8 kB / 421.8 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.06367, allocations: 23.98 kB / 421.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.06608, allocations: 5.451 MB / 427.3 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.06609, allocations: 3.938 kB / 427.3 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.0675, allocations: 0.9406 MB / 428.2 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.06767, allocations: 127.4 kB / 428.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.06774, allocations: 24 kB / 428.4 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.06794, allocations: 27.97 kB / 428.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.06804, allocations: 60.33 kB / 428.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.06808, allocations: 20 kB / 428.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.06841, allocations: 419 kB / 428.9 MB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06841, allocations: 0 / 428.9 MB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007005/0.06911, allocations: 275.9 kB / 429.2 MB, free: 13.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.001017/0.07013, allocations: 494.9 kB / 429.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.07143, allocations: 1.079 MB / 430.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.07143, allocations: 7.938 kB / 430.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.07203, allocations: 0.7982 MB / 431.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.07259, allocations: 192.2 kB / 431.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.0754, allocations: 2.175 MB / 433.9 MB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.07561, allocations: 272.7 kB / 434.2 MB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.07597, allocations: 202.8 kB / 434.4 MB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.0761, allocations: 68.47 kB / 434.4 MB, free: 8.379 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0761, allocations: 0 / 434.4 MB, free: 8.379 MB / 410.7 MB Notification: Performance of Templates: time 0.1506/0.2267, allocations: 14.64 MB / 449.1 MB, free: 93.97 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6621921909973025]