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.0006599/0.0006599, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001565, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006932/0.0006932, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008651/0.001558, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.915/0.915, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07602/0.9911, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1125/0.1125, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/0.2258, allocations: 9.518 MB / 282.9 MB, free: 12.84 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.243e-06/1.243e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.476e-05, allocations: 10.56 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00506/0.005075, allocations: 5.236 MB / 289.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.009746, allocations: 3.858 MB / 293.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.01009, allocations: 23.66 kB / 293.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00703/0.01712, allocations: 4.926 MB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.01773, allocations: 338 kB / 298.6 MB, free: 388 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.01817, allocations: 235.5 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.01987, allocations: 1.61 MB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.02051, allocations: 0.5212 MB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007941/0.02131, allocations: 0.5504 MB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008627/0.02217, allocations: 382.9 kB / 301.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.02223, allocations: 52 kB / 301.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.0224, allocations: 71.94 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.0226, allocations: 243.4 kB / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.02276, allocations: 183.6 kB / 302.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.02328, allocations: 486.3 kB / 302.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.0233, allocations: 4 kB / 302.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.0233, allocations: 0 / 302.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.02332, allocations: 0 / 302.9 MB, free: 12.06 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.0009866/0.0243, allocations: 0.8985 MB / 303.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.02433, allocations: 8.031 kB / 303.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.02457, allocations: 162 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.02509, allocations: 424.5 kB / 304.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.02512, allocations: 41.3 kB / 304.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.02519, allocations: 43.94 kB / 304.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.02558, allocations: 407.6 kB / 304.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.0256, allocations: 0 / 304.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.02562, allocations: 19.98 kB / 304.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.02569, allocations: 44.97 kB / 304.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.02588, allocations: 146.8 kB / 305.1 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.02737, allocations: 1.848 MB / 306.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.02755, allocations: 148.5 kB / 307.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.02761, allocations: 45.77 kB / 307.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.02763, allocations: 11.94 kB / 307.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.02765, allocations: 42.5 kB / 307.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.262e-06/0.02765, allocations: 4 kB / 307.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001161/0.02882, allocations: 0.6816 MB / 307.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.02885, allocations: 81.11 kB / 307.9 MB, free: 6.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.02904, allocations: 331.2 kB / 308.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.02906, allocations: 33.7 kB / 308.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.02916, allocations: 269 kB / 308.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.02922, allocations: 122.9 kB / 308.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.02957, allocations: 82.09 kB / 308.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.02965, allocations: 350.7 kB / 309.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.0297, allocations: 36.98 kB / 309.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.02981, allocations: 194.9 kB / 309.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.03, allocations: 264.7 kB / 309.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03, allocations: 4 kB / 309.6 MB, free: 4.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003797/0.03038, allocations: 353.8 kB / 309.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0304, allocations: 8 kB / 309.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.03041, allocations: 4 kB / 309.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.03064, allocations: 108.4 kB / 310 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.03082, allocations: 92.05 kB / 310.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.0323, allocations: 2.677 MB / 312.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.03242, allocations: 16 kB / 312.8 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.03243, allocations: 16 kB / 312.8 MB, free: 1.441 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.0001138/0.03255, allocations: 132.6 kB / 313 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.03259, allocations: 40.03 kB / 313 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.03295, allocations: 282.5 kB / 313.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.03295, allocations: 4 kB / 313.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002356/0.03319, allocations: 218.8 kB / 313.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.03319, allocations: 7.984 kB / 313.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.03377, allocations: 0.586 MB / 314.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.03378, allocations: 0 / 314.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.03388, allocations: 48.09 kB / 314.1 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.03394, allocations: 43.72 kB / 314.2 MB, free: 0 / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.03409, allocations: 67.84 kB / 314.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.0341, allocations: 11.98 kB / 314.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.03516, allocations: 1.435 MB / 315.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03516, allocations: 3.938 kB / 315.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.03549, allocations: 428.8 kB / 316.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.03552, allocations: 11.94 kB / 316.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.0356, allocations: 4 kB / 316.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.03564, allocations: 23.89 kB / 316.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.03565, allocations: 12 kB / 316.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.03574, allocations: 136.7 kB / 316.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03574, allocations: 0 / 316.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.03603, allocations: 120 kB / 316.4 MB, free: 13.62 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 7.933e-05/0.03611, allocations: 84.36 kB / 316.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.03653, allocations: 475.6 kB / 317 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.03655, allocations: 12 kB / 317 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.03673, allocations: 241.6 kB / 317.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.03707, allocations: 136.5 kB / 317.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.04402, allocations: 1.004 MB / 318.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.04414, allocations: 176.9 kB / 318.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.04425, allocations: 55.39 kB / 318.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.04438, allocations: 115.3 kB / 318.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04438, allocations: 4 kB / 318.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of Templates: time 0.007491/0.05187, allocations: 5.632 MB / 324.3 MB, free: 5.719 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.602104377001524]