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.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.0009804/0.0009804, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001302/0.001302, allocations: 166.3 kB / 24.99 MB, free: 8.305 MB / 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2659/0.2659, allocations: 29.42 MB / 291.2 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_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 3.984 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.204e-05, allocations: 6.141 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01817/0.01821, allocations: 7.596 MB / 377.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.03429, allocations: 5.103 MB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.03552, allocations: 43.69 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.04942, allocations: 6.518 MB / 388.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.05168, allocations: 0.6018 MB / 389.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.05322, allocations: 0.5963 MB / 390.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.05689, allocations: 2.775 MB / 392.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.05828, allocations: 1.21 MB / 394.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.05954, allocations: 1.013 MB / 395.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.06048, allocations: 0.8064 MB / 395.9 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.06066, allocations: 144 kB / 396 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.06115, allocations: 271.8 kB / 396.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003923/0.06154, allocations: 0.5533 MB / 396.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.06203, allocations: 490.7 kB / 397.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.06359, allocations: 1.265 MB / 398.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.0636, allocations: 0 / 398.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.0636, allocations: 0 / 398.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.06361, allocations: 0 / 398.6 MB, free: 14.24 MB / 378.7 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.00254/0.06615, allocations: 1.798 MB / 400.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.0662, allocations: 11.98 kB / 400.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.06678, allocations: 248 kB / 400.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.06833, allocations: 1.06 MB / 401.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.06838, allocations: 65.98 kB / 401.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.06851, allocations: 92 kB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.0697, allocations: 0.956 MB / 402.8 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.06972, allocations: 7.953 kB / 402.8 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.0698, allocations: 36 kB / 402.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.06998, allocations: 93.92 kB / 402.9 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.0708, allocations: 463.5 kB / 403.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.07525, allocations: 4.329 MB / 407.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.07595, allocations: 477 kB / 408.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.07631, allocations: 241 kB / 408.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.07637, allocations: 12.66 kB / 408.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.07687, allocations: 396.1 kB / 408.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.915e-06/0.07687, allocations: 0 / 408.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004669/0.08154, allocations: 2.531 MB / 411.4 MB, free: 1.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.08162, allocations: 188.6 kB / 411.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.08244, allocations: 0.7609 MB / 412.3 MB, free: 8 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.08251, allocations: 41.7 kB / 412.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.08283, allocations: 0.5812 MB / 412.9 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.08302, allocations: 313.4 kB / 413.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.08324, allocations: 188.2 kB / 413.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.08338, allocations: 0.5199 MB / 413.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.0837, allocations: 187.6 kB / 414.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.08418, allocations: 0.5999 MB / 414.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/0.08499, allocations: 0.739 MB / 415.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.085, allocations: 0 / 415.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004284/0.08928, allocations: 2.057 MB / 417.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.0893, allocations: 8.312 kB / 417.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.08932, allocations: 12 kB / 417.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007261/0.09658, allocations: 3.003 MB / 420.5 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.09696, allocations: 139.8 kB / 420.7 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.108, allocations: 7.787 MB / 428.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.1088, allocations: 51.89 kB / 428.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1089, allocations: 47.98 kB / 428.6 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007675/0.1097, allocations: 328.8 kB / 428.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005746/0.1103, allocations: 0.596 MB / 429.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008675/0.1111, allocations: 0.7468 MB / 430.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.1111, allocations: 4 kB / 430.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.004351/0.1155, allocations: 2.022 MB / 432.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1155, allocations: 8 kB / 432.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1155, allocations: 11.98 kB / 432.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007145/0.1227, allocations: 2.98 MB / 435.2 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.1231, allocations: 151.7 kB / 435.4 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/0.1325, allocations: 7.706 MB / 443.1 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.1331, allocations: 47.97 kB / 443.1 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1535/0.2867, allocations: 46.88 kB / 443.2 MB, free: 106.1 MB / 410.7 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.0004126/0.2871, allocations: 322.1 kB / 443.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.2873, allocations: 128.1 kB / 443.6 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2888, allocations: 0.9383 MB / 444.6 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2888, allocations: 12.94 kB / 444.6 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2888, allocations: 2.969 kB / 444.6 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2888, allocations: 7.438 kB / 444.6 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2911, allocations: 1.803 MB / 446.4 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2911, allocations: 2.938 kB / 446.4 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.2916, allocations: 169.5 kB / 446.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.2923, allocations: 335.1 kB / 446.9 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.2924, allocations: 33.95 kB / 446.9 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.2949, allocations: 7.364 MB / 454.3 MB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2949, allocations: 7.219 kB / 454.3 MB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2965, allocations: 1.278 MB / 455.6 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.2967, allocations: 182.1 kB / 455.8 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.2968, allocations: 26.03 kB / 455.8 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.2971, allocations: 35.59 kB / 455.8 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.2972, allocations: 79.52 kB / 455.9 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.2973, allocations: 35.56 kB / 455.9 MB, free: 98.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00034/0.2976, allocations: 467.8 kB / 456.4 MB, free: 98.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2976, allocations: 0 / 456.4 MB, free: 98.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0015/0.2991, allocations: 0.5709 MB / 457 MB, free: 98.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,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_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * 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 (82): * Single equations (assignments): 77 * 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 {(2,2,100.0%), (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.001011/0.3001, allocations: 482.9 kB / 457.4 MB, free: 97.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.3032, allocations: 2.593 MB / 460 MB, free: 97.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3032, allocations: 0 / 460 MB, free: 97.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.304, allocations: 1.108 MB / 461.1 MB, free: 96.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.3046, allocations: 239.7 kB / 461.4 MB, free: 96.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.3074, allocations: 2.39 MB / 463.8 MB, free: 94.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.3076, allocations: 341.2 kB / 464.1 MB, free: 94.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.3081, allocations: 217.9 kB / 464.3 MB, free: 94.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3082, allocations: 78.12 kB / 464.4 MB, free: 94.81 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3082, allocations: 0 / 464.4 MB, free: 94.81 MB / 410.7 MB Notification: Performance of Templates: time 0.03068/0.3389, allocations: 31.99 MB / 496.4 MB, free: 86.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.121361755998805]