Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_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.001395/0.001395, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001549/0.001549, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3013/0.3013, allocations: 29.42 MB / 291.2 MB, free: 2.422 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.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.343e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.008649/0.008673, allocations: 6.909 MB / 323.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.01429, allocations: 3.016 MB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01534, allocations: 47.62 kB / 326.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.0165, allocations: 321.7 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.0184, allocations: 0.6679 MB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.01993, allocations: 451 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.02241, allocations: 1.527 MB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.02416, allocations: 1.115 MB / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.02576, allocations: 0.83 MB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.02671, allocations: 0.5649 MB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.02696, allocations: 112 kB / 332.4 MB, free: 380 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.02777, allocations: 375.5 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.02816, allocations: 426.8 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.0288, allocations: 395.1 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.03042, allocations: 1.129 MB / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.03043, allocations: 0 / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.03043, allocations: 0 / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.219e-05/0.03047, allocations: 4 kB / 334.7 MB, free: 14.06 MB / 314.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.002566/0.03304, allocations: 1.308 MB / 336 MB, free: 12.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.03308, allocations: 11.98 kB / 336 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.03361, allocations: 204.7 kB / 336.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.03451, allocations: 0.6277 MB / 336.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.03456, allocations: 66.38 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.03471, allocations: 96.06 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.0356, allocations: 0.7893 MB / 337.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.03562, allocations: 4 kB / 337.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.03568, allocations: 39.98 kB / 337.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/0.03576, allocations: 61.97 kB / 337.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.0362, allocations: 304.5 kB / 338.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.03967, allocations: 3.333 MB / 341.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.04015, allocations: 366.3 kB / 341.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.04033, allocations: 128.1 kB / 342 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.04037, allocations: 12.5 kB / 342 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.04041, allocations: 43.05 kB / 342 MB, free: 6.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.966e-06/0.04041, allocations: 0 / 342 MB, free: 6.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.002403/0.04281, allocations: 1.028 MB / 343.1 MB, free: 5.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.04288, allocations: 162.7 kB / 343.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.04325, allocations: 0.5232 MB / 343.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.04328, allocations: 41.86 kB / 343.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.04348, allocations: 425.2 kB / 344.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.04361, allocations: 234 kB / 344.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.04375, allocations: 142.5 kB / 344.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.04388, allocations: 390.6 kB / 345 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.044, allocations: 91.64 kB / 345 MB, free: 3.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.04427, allocations: 392.8 kB / 345.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.04483, allocations: 0.6051 MB / 346 MB, free: 2.008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.04484, allocations: 4 kB / 346 MB, free: 2.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001158/0.046, allocations: 0.6921 MB / 346.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.04602, allocations: 12.06 kB / 346.7 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.04603, allocations: 11.98 kB / 346.8 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.04708, allocations: 439.8 kB / 347.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.04735, allocations: 143.8 kB / 347.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/0.05167, allocations: 4.008 MB / 351.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.05207, allocations: 32 kB / 351.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.0521, allocations: 28 kB / 351.4 MB, free: 12.44 MB / 330.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.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003095/0.05241, allocations: 185.9 kB / 351.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002412/0.05265, allocations: 389.2 kB / 352 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005491/0.0532, allocations: 0.5946 MB / 352.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.495e-06/0.05321, allocations: 11.92 kB / 352.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001036/0.05424, allocations: 0.6638 MB / 353.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.05426, allocations: 8 kB / 353.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.05426, allocations: 8 kB / 353.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009377/0.0552, allocations: 423.5 kB / 353.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.05547, allocations: 143.7 kB / 353.8 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.05904, allocations: 3.949 MB / 357.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.05939, allocations: 28 kB / 357.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.05943, allocations: 31.98 kB / 357.8 MB, free: 5.578 MB / 330.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.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.05961, allocations: 241.5 kB / 358 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.05971, allocations: 67.88 kB / 358.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.06016, allocations: 361.8 kB / 358.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.06017, allocations: 8 kB / 358.5 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.06017, allocations: 7.938 kB / 358.5 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.06018, allocations: 3.984 kB / 358.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.06136, allocations: 0.8738 MB / 359.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.06137, allocations: 0 / 359.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.06169, allocations: 127.9 kB / 359.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.479e-05/0.06175, allocations: 20.84 kB / 359.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.06178, allocations: 16 kB / 359.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.06228, allocations: 1.15 MB / 360.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.06228, allocations: 8.125 kB / 360.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.06286, allocations: 0.6506 MB / 361.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.063, allocations: 99.44 kB / 361.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.06306, allocations: 16 kB / 361.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.06324, allocations: 19.98 kB / 361.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.06331, allocations: 52.45 kB / 361.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.06333, allocations: 15.98 kB / 361.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.06352, allocations: 244.6 kB / 361.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.06352, allocations: 0 / 361.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001016/0.06454, allocations: 411.9 kB / 362.2 MB, free: 1.047 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0002343/0.06477, allocations: 113.5 kB / 362.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.0668, allocations: 1.42 MB / 363.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.173e-05/0.06682, allocations: 8.5 kB / 363.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.06707, allocations: 276.4 kB / 364 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.06771, allocations: 220.7 kB / 364.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.07043, allocations: 1.689 MB / 365.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.07068, allocations: 248.7 kB / 366.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.07105, allocations: 114 kB / 366.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.07138, allocations: 205.2 kB / 366.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.883e-06/0.07139, allocations: 0 / 366.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Templates: time 0.02433/0.09571, allocations: 16.71 MB / 383.1 MB, free: 12.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.44739259686321]