Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001055/0.001055, allocations: 80.92 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.0009418/0.0009418, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2871/0.2871, allocations: 29.4 MB / 291.2 MB, free: 2.371 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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.798e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007654/0.007682, allocations: 5.205 MB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007243/0.01492, allocations: 3.842 MB / 325.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.01551, allocations: 23.81 kB / 325.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.0262, allocations: 5.196 MB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.02759, allocations: 338 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.02827, allocations: 231.5 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.03112, allocations: 1.653 MB / 333.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.03197, allocations: 0.5555 MB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008296/0.0328, allocations: 0.5103 MB / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.03344, allocations: 363 kB / 334.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.03355, allocations: 52 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.03375, allocations: 79.91 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.03401, allocations: 267.2 kB / 335.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.03427, allocations: 227.5 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.03505, allocations: 0.4984 MB / 335.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.03505, allocations: 0 / 335.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.03505, allocations: 0 / 335.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.03507, allocations: 0 / 335.9 MB, free: 12.88 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001321/0.03639, allocations: 0.7697 MB / 336.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.03643, allocations: 11.98 kB / 336.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.03676, allocations: 88.8 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.03759, allocations: 436.4 kB / 337.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.03762, allocations: 29.38 kB / 337.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.03771, allocations: 55.92 kB / 337.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.03832, allocations: 395.6 kB / 337.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.03835, allocations: 7.938 kB / 337.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.0384, allocations: 23.98 kB / 337.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.0385, allocations: 48.97 kB / 337.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.03886, allocations: 161.5 kB / 337.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.04114, allocations: 1.839 MB / 339.7 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.04143, allocations: 192 kB / 339.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.04152, allocations: 49.77 kB / 340 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.04155, allocations: 7.938 kB / 340 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.04158, allocations: 42.55 kB / 340 MB, free: 8.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.04158, allocations: 0 / 340 MB, free: 8.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002078/0.04366, allocations: 0.7009 MB / 340.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.0437, allocations: 81.11 kB / 340.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.044, allocations: 327.2 kB / 341.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.04402, allocations: 37.83 kB / 341.1 MB, free: 7.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.04418, allocations: 273 kB / 341.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.04426, allocations: 115 kB / 341.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.04438, allocations: 82.11 kB / 341.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.0445, allocations: 358.7 kB / 342 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.0446, allocations: 43.81 kB / 342 MB, free: 6.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.04477, allocations: 182.9 kB / 342.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.0451, allocations: 283.2 kB / 342.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.0451, allocations: 0 / 342.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006412/0.04574, allocations: 352.7 kB / 342.8 MB, free: 5.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.04576, allocations: 7.938 kB / 342.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.04577, allocations: 8 kB / 342.8 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/0.04612, allocations: 116.8 kB / 342.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.04639, allocations: 79.89 kB / 343 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.04864, allocations: 2.694 MB / 345.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.04886, allocations: 16 kB / 345.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.0489, allocations: 20.03 kB / 345.7 MB, free: 2.355 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * 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 initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.04908, allocations: 136.5 kB / 345.9 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.04915, allocations: 35.91 kB / 345.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.04972, allocations: 278.5 kB / 346.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.04972, allocations: 4 kB / 346.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003918/0.05011, allocations: 219.8 kB / 346.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.05012, allocations: 0 / 346.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.05116, allocations: 0.5904 MB / 347 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.05116, allocations: 0 / 347 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.05134, allocations: 43.97 kB / 347 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.05194, allocations: 71.55 kB / 347.1 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.05196, allocations: 12.09 kB / 347.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.05329, allocations: 1.432 MB / 348.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.05329, allocations: 8 kB / 348.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.05385, allocations: 428.1 kB / 349 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.05394, allocations: 51.69 kB / 349 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.05399, allocations: 11.89 kB / 349 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.05413, allocations: 4 kB / 349 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.05418, allocations: 23.95 kB / 349.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.05421, allocations: 12 kB / 349.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.05436, allocations: 136.8 kB / 349.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05436, allocations: 0 / 349.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005662/0.05493, allocations: 124 kB / 349.3 MB, free: 14.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * 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 (22): * Single equations (assignments): 20 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.05505, allocations: 84.34 kB / 349.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.05574, allocations: 474.6 kB / 349.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.05575, allocations: 12 kB / 349.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.05607, allocations: 249.9 kB / 350.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.05659, allocations: 106.3 kB / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.05889, allocations: 0.9873 MB / 351.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.05906, allocations: 169.1 kB / 351.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.05925, allocations: 51.39 kB / 351.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.05946, allocations: 115.3 kB / 351.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.05946, allocations: 0 / 351.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01051/0.06997, allocations: 5.563 MB / 357.1 MB, free: 6.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1163940490223467]