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.001014/0.001014, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001821/0.001821, allocations: 165.4 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 0.9912/0.9912, allocations: 177.2 MB / 205 MB, free: 5.281 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.2542/0.2542, allocations: 29.41 MB / 290.9 MB, free: 2.461 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 2.484e-06/2.484e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.066e-05, allocations: 10.31 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.007003/0.007034, allocations: 6.969 MB / 376.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.01129, allocations: 2.972 MB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006368/0.01193, allocations: 47.62 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.01295, allocations: 321.7 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.01437, allocations: 0.6564 MB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.01518, allocations: 459 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.01675, allocations: 1.523 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.01778, allocations: 1.086 MB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.01857, allocations: 0.8417 MB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.01916, allocations: 0.5688 MB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01927, allocations: 112 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.02, allocations: 375.5 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.02026, allocations: 418.8 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.02055, allocations: 395.1 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.02159, allocations: 1.133 MB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.02159, allocations: 4 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02159, allocations: 0 / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.0216, allocations: 0 / 387.5 MB, free: 9.07 MB / 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.001662/0.02326, allocations: 1.483 MB / 389 MB, free: 7.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.0233, allocations: 11.98 kB / 389 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.0238, allocations: 248.1 kB / 389.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.02459, allocations: 0.7787 MB / 390 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.02463, allocations: 66.36 kB / 390.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.02477, allocations: 88.12 kB / 390.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009688/0.02574, allocations: 0.8689 MB / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.02577, allocations: 7.953 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.02582, allocations: 36 kB / 391.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/0.0259, allocations: 61.97 kB / 391.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.02653, allocations: 407.5 kB / 391.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.03042, allocations: 4.358 MB / 395.9 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.03091, allocations: 391.9 kB / 396.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.03114, allocations: 168.5 kB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.03117, allocations: 12.48 kB / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.0312, allocations: 45.89 kB / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.033e-06/0.0312, allocations: 0 / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.002183/0.03338, allocations: 1.59 MB / 398.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.03344, allocations: 166.7 kB / 398.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.03389, allocations: 0.6165 MB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.03392, allocations: 37.7 kB / 398.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.03415, allocations: 0.5455 MB / 399.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.03454, allocations: 234.2 kB / 399.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.03469, allocations: 156.3 kB / 399.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.03485, allocations: 0.5664 MB / 400.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.03502, allocations: 119.6 kB / 400.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.03535, allocations: 0.5181 MB / 401 MB, free: 10.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.03608, allocations: 0.7602 MB / 401.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.03608, allocations: 4 kB / 401.8 MB, free: 9.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001322/0.03741, allocations: 0.9216 MB / 402.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.03742, allocations: 8 kB / 402.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.03743, allocations: 8.344 kB / 402.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.0385, allocations: 0.4958 MB / 403.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.03877, allocations: 147.7 kB / 403.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/0.04322, allocations: 5.439 MB / 408.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.04344, allocations: 35.98 kB / 408.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.04348, allocations: 32 kB / 408.9 MB, free: 2.562 MB / 378.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.0002846/0.04376, allocations: 256.8 kB / 409.1 MB, free: 2.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003414/0.04411, allocations: 0.5104 MB / 409.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007051/0.04481, allocations: 0.7563 MB / 410.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.838e-06/0.04481, allocations: 4 kB / 410.4 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001233/0.04605, allocations: 0.8898 MB / 411.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.04606, allocations: 8 kB / 411.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.04607, allocations: 8 kB / 411.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/0.04704, allocations: 487.4 kB / 411.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.0473, allocations: 143.7 kB / 411.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.05141, allocations: 5.38 MB / 417.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.05164, allocations: 39.92 kB / 417.3 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.05168, allocations: 32 kB / 417.4 MB, free: 9.504 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_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.0001647/0.05184, allocations: 319.9 kB / 417.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.05194, allocations: 99.42 kB / 417.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.0525, allocations: 472.5 kB / 418.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.05251, allocations: 11.98 kB / 418.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.05251, allocations: 8 kB / 418.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.05252, allocations: 0 / 418.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.05387, allocations: 1.225 MB / 419.5 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.05387, allocations: 4 kB / 419.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.05422, allocations: 131.8 kB / 419.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.005e-05/0.05428, allocations: 35.67 kB / 419.6 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.05431, allocations: 12 kB / 419.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/0.05521, allocations: 1.728 MB / 421.4 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.05521, allocations: 0 / 421.4 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.05598, allocations: 0.87 MB / 422.2 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.05614, allocations: 139.3 kB / 422.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.05619, allocations: 16 kB / 422.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.05639, allocations: 27.97 kB / 422.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.05646, allocations: 44.52 kB / 422.5 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.05648, allocations: 16 kB / 422.5 MB, free: 4.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.05677, allocations: 391 kB / 422.9 MB, free: 3.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05677, allocations: 0 / 422.9 MB, free: 3.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000911/0.05768, allocations: 411.9 kB / 423.3 MB, free: 3.352 MB / 394.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.0002733/0.05795, allocations: 150.1 kB / 423.4 MB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.05966, allocations: 1.763 MB / 425.2 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.05966, allocations: 384 / 425.2 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.05996, allocations: 370.5 kB / 425.5 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.06055, allocations: 197.2 kB / 425.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.06306, allocations: 1.793 MB / 427.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.06353, allocations: 264.7 kB / 427.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.06386, allocations: 177.8 kB / 428 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.06399, allocations: 60.48 kB / 428 MB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06399, allocations: 0 / 428 MB, free: 14.43 MB / 410.7 MB Notification: Performance of Templates: time 0.1578/0.2218, allocations: 16.37 MB / 444.4 MB, free: 96.53 MB / 410.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.453195390291512]