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.0009489/0.0009489, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002293, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001036/0.001036, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002383, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.912/0.912, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.1474/0.1474, allocations: 29.43 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.117/0.2645, allocations: 9.53 MB / 283.1 MB, free: 12.81 MB / 282.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.303e-06/1.303e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.395e-05, allocations: 3.188 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004757/0.004771, allocations: 5.261 MB / 289.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.009128, allocations: 3.866 MB / 293.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.009447, allocations: 22.53 kB / 293.6 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006299/0.01575, allocations: 4.924 MB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.01639, allocations: 342.1 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.01678, allocations: 223.5 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.01825, allocations: 1.614 MB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.01883, allocations: 0.5251 MB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.01948, allocations: 0.5542 MB / 301.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.01992, allocations: 370.9 kB / 302.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.01998, allocations: 56 kB / 302.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.02013, allocations: 79.84 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.02031, allocations: 247.4 kB / 302.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.02046, allocations: 183.6 kB / 302.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.02095, allocations: 478.4 kB / 303.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.02096, allocations: 4 kB / 303.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02096, allocations: 4 kB / 303.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.02097, allocations: 0 / 303.1 MB, free: 11.94 MB / 298.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.001048/0.02202, allocations: 0.8985 MB / 304 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.02205, allocations: 8.031 kB / 304 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.0223, allocations: 162 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.02282, allocations: 428.5 kB / 304.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.02284, allocations: 33.38 kB / 304.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.0229, allocations: 47.92 kB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.02328, allocations: 399.6 kB / 305.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.02329, allocations: 3.984 kB / 305.1 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.02332, allocations: 23.98 kB / 305.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.02338, allocations: 44.97 kB / 305.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.02358, allocations: 157.6 kB / 305.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.02506, allocations: 1.854 MB / 307.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.02526, allocations: 190.6 kB / 307.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.02532, allocations: 65.64 kB / 307.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.02535, allocations: 8 kB / 307.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.02537, allocations: 30.56 kB / 307.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.02537, allocations: 0 / 307.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001164/0.02653, allocations: 0.7089 MB / 308.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.02657, allocations: 81.11 kB / 308.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.02675, allocations: 331.2 kB / 308.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.02677, allocations: 29.7 kB / 308.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.02687, allocations: 269 kB / 308.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.02693, allocations: 126.9 kB / 309 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.027, allocations: 78.16 kB / 309.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.02709, allocations: 358.7 kB / 309.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.02715, allocations: 47.75 kB / 309.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.02725, allocations: 179 kB / 309.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.02746, allocations: 291.5 kB / 309.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02747, allocations: 8 kB / 309.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003762/0.02784, allocations: 352.5 kB / 310.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.02786, allocations: 4 kB / 310.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.02787, allocations: 12 kB / 310.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.0281, allocations: 116.7 kB / 310.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.02827, allocations: 87.89 kB / 310.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.02974, allocations: 2.683 MB / 313.2 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.02985, allocations: 8 kB / 313.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.02987, allocations: 16 kB / 313.2 MB, free: 1.18 MB / 298.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.0001096/0.02998, allocations: 136.6 kB / 313.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.03002, allocations: 43.84 kB / 313.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.03035, allocations: 282.7 kB / 313.6 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.03036, allocations: 4 kB / 313.6 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002481/0.0306, allocations: 222.8 kB / 313.9 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.03061, allocations: 3.984 kB / 313.9 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.03118, allocations: 0.5899 MB / 314.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.03119, allocations: 0 / 314.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.03129, allocations: 47.91 kB / 314.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.03135, allocations: 47.72 kB / 314.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.03149, allocations: 75.83 kB / 314.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.0315, allocations: 7.984 kB / 314.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008041/0.0323, allocations: 1.432 MB / 316.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.0323, allocations: 0 / 316.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.03264, allocations: 436.2 kB / 316.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.03267, allocations: 11.94 kB / 316.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.03275, allocations: 4 kB / 316.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.03278, allocations: 23.95 kB / 316.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.0328, allocations: 8 kB / 316.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.03289, allocations: 140.7 kB / 316.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03289, allocations: 0 / 316.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.03319, allocations: 116 kB / 316.8 MB, free: 13.34 MB / 314.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 8.926e-05/0.03328, allocations: 88.39 kB / 316.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.03371, allocations: 476.3 kB / 317.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.03373, allocations: 20.08 kB / 317.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.03394, allocations: 257.2 kB / 317.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.03446, allocations: 0.7415 MB / 318.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.04135, allocations: 0.9891 MB / 319.3 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.04146, allocations: 176.9 kB / 319.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.04159, allocations: 51.42 kB / 319.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.04172, allocations: 115.3 kB / 319.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04173, allocations: 0 / 319.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of Templates: time 0.007842/0.04957, allocations: 5.654 MB / 325.3 MB, free: 4.676 MB / 314.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6246963450685143]