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.0007342/0.0007342, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003115/0.003115, allocations: 160 kB / 24.7 MB, free: 8.895 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.8499/0.8499, allocations: 177.1 MB / 205 MB, free: 5.734 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.2117/0.2117, allocations: 29.42 MB / 290.9 MB, free: 2.43 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.413e-06/1.413e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.169e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.005809/0.005831, allocations: 6.796 MB / 438.3 MB, free: 6.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.009181, allocations: 2.871 MB / 441.1 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.009646, allocations: 47.62 kB / 441.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.01053, allocations: 361.6 kB / 441.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01159, allocations: 0.668 MB / 442.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.01226, allocations: 455 kB / 442.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.01349, allocations: 1.53 MB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1539/0.1674, allocations: 1.064 MB / 445.2 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.1682, allocations: 0.8236 MB / 446.1 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.1688, allocations: 0.564 MB / 446.6 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.1688, allocations: 112.5 kB / 446.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1693, allocations: 374.1 kB / 447.1 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1695, allocations: 424.3 kB / 447.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.1697, allocations: 399.5 kB / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1708, allocations: 1.721 MB / 449.6 MB, free: 44.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1708, allocations: 3.938 kB / 449.6 MB, free: 44.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1708, allocations: 0 / 449.6 MB, free: 44.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1708, allocations: 0 / 449.6 MB, free: 44.22 MB / 410.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.001459/0.1722, allocations: 1.37 MB / 451 MB, free: 43.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1723, allocations: 13.67 kB / 451 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.1727, allocations: 170.2 kB / 451.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.1734, allocations: 0.7599 MB / 451.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1735, allocations: 62 kB / 452 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1736, allocations: 103.1 kB / 452.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.1745, allocations: 1.211 MB / 453.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.1746, allocations: 9.531 kB / 453.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.1746, allocations: 35.72 kB / 453.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.1747, allocations: 61.7 kB / 453.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.1755, allocations: 0.934 MB / 454.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.1782, allocations: 3.982 MB / 458.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.1788, allocations: 0.5676 MB / 458.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1791, allocations: 318 kB / 459.2 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1791, allocations: 10.77 kB / 459.2 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1791, allocations: 48 kB / 459.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=58): time 1.814e-06/0.1791, allocations: 0 / 459.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=62): time 0.0024/0.1815, allocations: 2.213 MB / 461.5 MB, free: 38.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1816, allocations: 168.5 kB / 461.6 MB, free: 38.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.1819, allocations: 0.6159 MB / 462.3 MB, free: 38.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.182, allocations: 37.08 kB / 462.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1821, allocations: 0.4907 MB / 462.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.1822, allocations: 222.3 kB / 463 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1823, allocations: 153.5 kB / 463.2 MB, free: 37.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.1823, allocations: 376 kB / 463.5 MB, free: 37.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.1826, allocations: 280.3 kB / 463.8 MB, free: 37.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1829, allocations: 0.5703 MB / 464.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.1853, allocations: 1.437 MB / 465.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.1853, allocations: 3.344 kB / 465.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001765/0.187, allocations: 1.283 MB / 467.1 MB, free: 35.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.187, allocations: 10.34 kB / 467.1 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1871, allocations: 9.156 kB / 467.1 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007848/0.1878, allocations: 444.8 kB / 467.5 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1881, allocations: 146.2 kB / 467.7 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.1926, allocations: 6.379 MB / 474.1 MB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1928, allocations: 38.55 kB / 474.1 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.1929, allocations: 35.61 kB / 474.1 MB, free: 31.29 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 system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004094/0.1933, allocations: 0.5059 MB / 474.6 MB, free: 31.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002916/0.1936, allocations: 0.558 MB / 475.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/0.1952, allocations: 1.411 MB / 476.6 MB, free: 29.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.1952, allocations: 0 / 476.6 MB, free: 29.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001271/0.1964, allocations: 1.203 MB / 477.8 MB, free: 29.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.1964, allocations: 12.41 kB / 477.8 MB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1964, allocations: 13.16 kB / 477.8 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.1971, allocations: 429.5 kB / 478.3 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1973, allocations: 140.9 kB / 478.4 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.2013, allocations: 6.145 MB / 484.5 MB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.2015, allocations: 36.78 kB / 484.6 MB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.2015, allocations: 38.23 kB / 484.6 MB, free: 25.27 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.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.0001155/0.2017, allocations: 238.4 kB / 484.9 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.2017, allocations: 78.59 kB / 484.9 MB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.2025, allocations: 0.722 MB / 485.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2025, allocations: 6.438 kB / 485.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2025, allocations: 1.062 kB / 485.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2025, allocations: 8.297 kB / 485.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.204, allocations: 1.478 MB / 487.1 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.204, allocations: 3.75 kB / 487.1 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.2044, allocations: 134.3 kB / 487.3 MB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-05/0.2044, allocations: 31.88 kB / 487.3 MB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.2044, allocations: 20.62 kB / 487.3 MB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003581/0.2048, allocations: 1.258 MB / 488.6 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2048, allocations: 1.344 kB / 488.6 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2058, allocations: 1.202 MB / 489.8 MB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.206, allocations: 133.1 kB / 489.9 MB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.206, allocations: 17.75 kB / 489.9 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2063, allocations: 27.89 kB / 490 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.2063, allocations: 44.75 kB / 490 MB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.2063, allocations: 17.22 kB / 490 MB, free: 21.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.2066, allocations: 419.1 kB / 490.4 MB, free: 21.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2066, allocations: 5.219 kB / 490.4 MB, free: 21.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009009/0.2075, allocations: 408.2 kB / 490.8 MB, free: 21.74 MB / 410.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.0002177/0.2078, allocations: 150.2 kB / 491 MB, free: 21.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.2096, allocations: 1.903 MB / 492.9 MB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2096, allocations: 0 / 492.9 MB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.2099, allocations: 426.5 kB / 493.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.2105, allocations: 193.3 kB / 493.5 MB, free: 20.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.2125, allocations: 1.998 MB / 495.5 MB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2129, allocations: 0.5182 MB / 496 MB, free: 19.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.213, allocations: 61.75 kB / 496.1 MB, free: 19.18 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.213, allocations: 0 / 496.1 MB, free: 19.18 MB / 410.7 MB Notification: Performance of Templates: time 0.02015/0.2332, allocations: 18.93 MB / 0.5029 GB, free: 13.04 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.973039575852454] Failed to read output from testmodel.py, exit status != 0: 0.23854484781622887 0.24466928100000002 0.072403307 Calling exit ...