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.0009514/0.0009514, allocations: 80.8 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.001183/0.001183, allocations: 170.4 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 0.9781/0.9781, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1142/0.1142, allocations: 29.42 MB / 291.2 MB, free: 2.707 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.553e-06/1.553e-06, allocations: 0 / 316.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.75e-05, allocations: 2.312 kB / 316.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006803/0.006821, allocations: 5.161 MB / 322 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005924/0.01274, allocations: 3.856 MB / 325.9 MB, free: 4 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.01304, allocations: 19.98 kB / 325.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008693/0.02174, allocations: 5.274 MB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.02231, allocations: 330.1 kB / 331.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.02264, allocations: 239.5 kB / 331.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.02434, allocations: 1.653 MB / 333.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.02499, allocations: 0.5555 MB / 333.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.02561, allocations: 0.5144 MB / 334.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.02607, allocations: 370.9 kB / 334.8 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.02614, allocations: 56 kB / 334.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.02628, allocations: 67.98 kB / 334.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.02652, allocations: 267.3 kB / 335.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.02673, allocations: 219.5 kB / 335.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.02735, allocations: 0.4944 MB / 335.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.02735, allocations: 3.938 kB / 335.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02735, allocations: 0 / 335.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.02736, allocations: 3.938 kB / 335.9 MB, free: 5.941 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.001057/0.02842, allocations: 0.7696 MB / 336.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.02845, allocations: 12.03 kB / 336.7 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.0287, allocations: 84.86 kB / 336.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.02932, allocations: 420.5 kB / 337.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.02935, allocations: 33.38 kB / 337.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.02942, allocations: 63.81 kB / 337.3 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.02989, allocations: 395.6 kB / 337.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.02992, allocations: 4 kB / 337.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.02996, allocations: 23.97 kB / 337.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-05/0.03005, allocations: 52.95 kB / 337.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.03031, allocations: 153.6 kB / 337.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.03221, allocations: 1.839 MB / 339.7 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.03246, allocations: 194.2 kB / 339.9 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.03254, allocations: 53.77 kB / 340 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.03256, allocations: 12 kB / 340 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.03259, allocations: 34.5 kB / 340 MB, free: 1.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.03259, allocations: 0 / 340 MB, free: 1.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001478/0.03407, allocations: 0.7047 MB / 340.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.03411, allocations: 81.11 kB / 340.8 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.03436, allocations: 339.2 kB / 341.1 MB, free: 424 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.03438, allocations: 29.7 kB / 341.1 MB, free: 388 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.03452, allocations: 269 kB / 341.4 MB, free: 116 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1655/0.2, allocations: 118.8 kB / 341.5 MB, free: 31.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.2003, allocations: 75.89 kB / 341.6 MB, free: 31.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2004, allocations: 357.4 kB / 341.9 MB, free: 30.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.2005, allocations: 42.2 kB / 342 MB, free: 30.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2007, allocations: 186.7 kB / 342.2 MB, free: 30.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.201, allocations: 279.3 kB / 342.4 MB, free: 30.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.201, allocations: 4.906 kB / 342.4 MB, free: 30.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000547/0.2016, allocations: 350 kB / 342.8 MB, free: 30.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.2016, allocations: 8.109 kB / 342.8 MB, free: 30.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2016, allocations: 4.344 kB / 342.8 MB, free: 30.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.2019, allocations: 116.7 kB / 342.9 MB, free: 30.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2021, allocations: 77.39 kB / 343 MB, free: 30.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.2035, allocations: 2.683 MB / 345.7 MB, free: 28.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2037, allocations: 11.22 kB / 345.7 MB, free: 28.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2037, allocations: 18.97 kB / 345.7 MB, free: 28.23 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.0001533/0.2039, allocations: 143.4 kB / 345.8 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.2039, allocations: 37.23 kB / 345.9 MB, free: 28.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.2044, allocations: 277.5 kB / 346.1 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2044, allocations: 4.422 kB / 346.2 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003121/0.2047, allocations: 225.5 kB / 346.4 MB, free: 27.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2047, allocations: 1.594 kB / 346.4 MB, free: 27.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.2054, allocations: 0.5889 MB / 347 MB, free: 27.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2054, allocations: 1.469 kB / 347 MB, free: 27.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2055, allocations: 41.3 kB / 347 MB, free: 27.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.2057, allocations: 73.03 kB / 347.1 MB, free: 27.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2057, allocations: 7.5 kB / 347.1 MB, free: 27.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007737/0.2065, allocations: 1.437 MB / 348.5 MB, free: 26.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2065, allocations: 1.125 kB / 348.5 MB, free: 26.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.2068, allocations: 430.2 kB / 348.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.2069, allocations: 48 kB / 349 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2069, allocations: 13.34 kB / 349 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.207, allocations: 5.141 kB / 349 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2071, allocations: 27.05 kB / 349 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2071, allocations: 7.625 kB / 349 MB, free: 26.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.2072, allocations: 140.2 kB / 349.2 MB, free: 26.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2072, allocations: 0 / 349.2 MB, free: 26.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.2076, allocations: 119.9 kB / 349.3 MB, free: 26.23 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 9.531e-05/0.2077, allocations: 86.72 kB / 349.4 MB, free: 26.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.2081, allocations: 475.9 kB / 349.8 MB, free: 25.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.2081, allocations: 3.531 kB / 349.8 MB, free: 25.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2083, allocations: 239.3 kB / 350.1 MB, free: 25.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.2087, allocations: 106.8 kB / 350.2 MB, free: 25.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2103, allocations: 0.9912 MB / 351.2 MB, free: 25.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2104, allocations: 167.3 kB / 351.3 MB, free: 25.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.2105, allocations: 50.97 kB / 351.4 MB, free: 25.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2107, allocations: 120.1 kB / 351.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2107, allocations: 0 / 351.5 MB, free: 25.16 MB / 314.7 MB Notification: Performance of Templates: time 0.008125/0.2188, allocations: 5.568 MB / 357.1 MB, free: 24.02 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: 3.267319302074611]