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.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.00191/0.00191, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002027/0.002027, allocations: 161.3 kB / 24.27 MB, free: 156 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3138/0.3138, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.808e-05, allocations: 10.31 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.01156/0.01159, allocations: 7.422 MB / 376.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009489/0.02108, allocations: 4.624 MB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.02213, allocations: 47.62 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.03529, allocations: 5.519 MB / 386.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.03723, allocations: 0.5163 MB / 387 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.03872, allocations: 0.5145 MB / 387.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.04333, allocations: 2.502 MB / 390 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.04522, allocations: 1.172 MB / 391.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.04685, allocations: 0.9664 MB / 392.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.04813, allocations: 0.7284 MB / 392.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.04836, allocations: 124 kB / 393 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.04872, allocations: 155.9 kB / 393.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.04929, allocations: 490.6 kB / 393.7 MB, free: 2.438 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.04991, allocations: 427 kB / 394.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.05238, allocations: 1.671 MB / 395.7 MB, free: 352 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.05238, allocations: 0 / 395.7 MB, free: 352 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05238, allocations: 4 kB / 395.7 MB, free: 348 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.05242, allocations: 4 kB / 395.7 MB, free: 344 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003698/0.05612, allocations: 1.6 MB / 397.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.05617, allocations: 11.98 kB / 397.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.05691, allocations: 216.1 kB / 397.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.05908, allocations: 0.8721 MB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.05917, allocations: 70.36 kB / 398.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.05935, allocations: 95.89 kB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.06141, allocations: 1.091 MB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.06145, allocations: 4 kB / 399.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.06155, allocations: 35.98 kB / 399.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.06179, allocations: 73.95 kB / 399.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.06332, allocations: 0.644 MB / 400.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008097/0.07142, allocations: 4.658 MB / 405.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.0727, allocations: 0.5861 MB / 405.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.07336, allocations: 257 kB / 405.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.07345, allocations: 12.66 kB / 406 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.07352, allocations: 50.03 kB / 406 MB, free: 5.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 4.168e-06/0.07352, allocations: 3.938 kB / 406 MB, free: 5.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00656/0.08008, allocations: 2.228 MB / 408.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.08022, allocations: 162.9 kB / 408.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.08133, allocations: 0.8001 MB / 409.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.0814, allocations: 37.7 kB / 409.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/0.08218, allocations: 0.5818 MB / 409.8 MB, free: 1.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.08249, allocations: 285.7 kB / 410.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.08284, allocations: 200.2 kB / 410.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004629/0.0833, allocations: 0.6289 MB / 410.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.08384, allocations: 227.5 kB / 411.1 MB, free: 436 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.08476, allocations: 0.5978 MB / 411.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008172/0.09293, allocations: 1.885 MB / 413.6 MB, free: 13.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.09295, allocations: 4 kB / 413.6 MB, free: 13.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005851/0.0988, allocations: 1.516 MB / 415.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.09882, allocations: 8 kB / 415.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.09884, allocations: 12.3 kB / 415.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00821/0.1071, allocations: 1.431 MB / 416.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.108, allocations: 131.8 kB / 416.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.1233, allocations: 7.425 MB / 424.1 MB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.124, allocations: 35.98 kB / 424.2 MB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.1241, allocations: 39.98 kB / 424.2 MB, free: 2.801 MB / 394.7 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.0008696/0.1249, allocations: 420.8 kB / 424.6 MB, free: 2.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008328/0.1258, allocations: 0.59 MB / 425.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007871/0.1336, allocations: 1.869 MB / 427.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/0.1337, allocations: 0 / 427.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005677/0.1393, allocations: 1.459 MB / 428.6 MB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1394, allocations: 8 kB / 428.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1394, allocations: 8 kB / 428.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008002/0.1474, allocations: 1.416 MB / 430 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.148, allocations: 127.8 kB / 430.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.1626, allocations: 7.273 MB / 437.4 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.1633, allocations: 31.98 kB / 437.4 MB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.1634, allocations: 39.98 kB / 437.5 MB, free: 5.035 MB / 410.7 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.0003747/0.1638, allocations: 323.8 kB / 437.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.164, allocations: 115.4 kB / 437.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.1664, allocations: 0.7892 MB / 438.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1664, allocations: 8 kB / 438.7 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1664, allocations: 3.984 kB / 438.7 MB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.1664, allocations: 7.984 kB / 438.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.1705, allocations: 1.838 MB / 440.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1705, allocations: 4 kB / 440.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/0.1714, allocations: 155.8 kB / 440.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.172, allocations: 146.6 kB / 440.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.1721, allocations: 23.98 kB / 440.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1467/0.3188, allocations: 7.028 MB / 447.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3188, allocations: 0 / 447.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3208, allocations: 1.35 MB / 449.2 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.3211, allocations: 154.5 kB / 449.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3212, allocations: 18.31 kB / 449.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.3217, allocations: 31.08 kB / 449.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3219, allocations: 62.12 kB / 449.5 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.3219, allocations: 25.16 kB / 449.5 MB, free: 100 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004528/0.3224, allocations: 480.4 kB / 450 MB, free: 99.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3224, allocations: 0 / 450 MB, free: 99.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001501/0.3239, allocations: 453.3 kB / 450.4 MB, free: 99.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.phiRotorflux,loadInertia.w,frictTorq.phi,PI_i_q.I.y) * 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (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.0001462/0.324, allocations: 126.2 kB / 450.5 MB, free: 99.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004/0.328, allocations: 2.445 MB / 453 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.328, allocations: 0 / 453 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009313/0.3289, allocations: 1.017 MB / 454 MB, free: 98.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.3299, allocations: 195.7 kB / 454.2 MB, free: 98.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.3328, allocations: 2.064 MB / 456.3 MB, free: 97.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3332, allocations: 0.569 MB / 456.8 MB, free: 97.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000523/0.3338, allocations: 169.4 kB / 457 MB, free: 97.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.334, allocations: 72.25 kB / 457.1 MB, free: 97.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.334, allocations: 0 / 457.1 MB, free: 97.27 MB / 410.7 MB Notification: Performance of Templates: time 0.03248/0.3664, allocations: 23.27 MB / 480.3 MB, free: 94.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.888194427010603]