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.0009013/0.0009013, 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.004478/0.004478, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8795/0.8795, allocations: 177.1 MB / 205 MB, free: 5.723 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.2087/0.2087, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.452e-06/1.452e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.115e-05, allocations: 6.219 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004444/0.004465, allocations: 5.062 MB / 436.5 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.008074, allocations: 3.641 MB / 440.2 MB, free: 4.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.00828, allocations: 27.81 kB / 440.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1832/0.1915, allocations: 5.351 MB / 445.6 MB, free: 46.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.1924, allocations: 337.5 kB / 445.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1929, allocations: 228.7 kB / 446.1 MB, free: 46.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.194, allocations: 1.652 MB / 447.8 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.1945, allocations: 0.5202 MB / 448.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.195, allocations: 0.5003 MB / 448.8 MB, free: 46.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1953, allocations: 391.4 kB / 449.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.1954, allocations: 57.56 kB / 449.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1955, allocations: 73.8 kB / 449.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1957, allocations: 272.9 kB / 449.6 MB, free: 46.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1958, allocations: 218.2 kB / 449.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1964, allocations: 0.8114 MB / 450.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1964, allocations: 5.562 kB / 450.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1964, allocations: 0 / 450.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1964, allocations: 0 / 450.6 MB, free: 46.14 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0009368/0.1973, allocations: 0.8082 MB / 451.4 MB, free: 45.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1974, allocations: 13.58 kB / 451.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.1976, allocations: 75.52 kB / 451.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.1981, allocations: 498.6 kB / 452 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1981, allocations: 34.44 kB / 452 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.1982, allocations: 50.56 kB / 452.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.1987, allocations: 0.6311 MB / 452.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1987, allocations: 6.688 kB / 452.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1988, allocations: 18.66 kB / 452.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.1988, allocations: 44.25 kB / 452.8 MB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.1993, allocations: 469.2 kB / 453.2 MB, free: 45.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2007, allocations: 2.235 MB / 455.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.201, allocations: 264.2 kB / 455.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2011, allocations: 132.1 kB / 455.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2012, allocations: 2.969 kB / 455.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2012, allocations: 38.19 kB / 455.9 MB, free: 43.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2012, allocations: 4 kB / 455.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001487/0.2027, allocations: 1.23 MB / 457.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2027, allocations: 87.48 kB / 457.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.2029, allocations: 383.5 kB / 457.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.203, allocations: 34.42 kB / 457.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2031, allocations: 313.6 kB / 457.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.2032, allocations: 118.4 kB / 458 MB, free: 42.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.2032, allocations: 81.8 kB / 458.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.2033, allocations: 349.9 kB / 458.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2034, allocations: 133.4 kB / 458.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.2036, allocations: 271.7 kB / 458.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.2039, allocations: 460.6 kB / 459.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2039, allocations: 0 / 459.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005447/0.2045, allocations: 0.5969 MB / 459.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2045, allocations: 6.406 kB / 459.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2045, allocations: 3.625 kB / 459.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.2047, allocations: 152.6 kB / 460 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2049, allocations: 74.53 kB / 460.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.2064, allocations: 3.4 MB / 463.5 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2066, allocations: 14.72 kB / 463.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2066, allocations: 20.78 kB / 463.6 MB, free: 37.99 MB / 410.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.0001381/0.2067, allocations: 245.8 kB / 463.8 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2067, allocations: 44.19 kB / 463.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.2072, allocations: 497.4 kB / 464.3 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2072, allocations: 3.312 kB / 464.3 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004467/0.2077, allocations: 413.1 kB / 464.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.2077, allocations: 3.281 kB / 464.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.2084, allocations: 0.8559 MB / 465.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2084, allocations: 0 / 465.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2085, allocations: 39.8 kB / 465.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2087, allocations: 95.25 kB / 465.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2087, allocations: 3.344 kB / 465.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000871/0.2096, allocations: 1.879 MB / 467.6 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2096, allocations: 3.25 kB / 467.6 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.21, allocations: 0.6518 MB / 468.3 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.2101, allocations: 61.25 kB / 468.3 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2101, allocations: 11.44 kB / 468.3 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.2102, allocations: 7.5 kB / 468.3 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.2103, allocations: 27.53 kB / 468.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2103, allocations: 7.281 kB / 468.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.2104, allocations: 278 kB / 468.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2104, allocations: 0 / 468.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000304/0.2107, allocations: 118.2 kB / 468.8 MB, free: 34.81 MB / 410.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.31e-05/0.2108, allocations: 107.3 kB / 468.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.2114, allocations: 0.5962 MB / 469.5 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2114, allocations: 0 / 469.5 MB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2116, allocations: 291.7 kB / 469.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2119, allocations: 89.28 kB / 469.8 MB, free: 34.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.213, allocations: 1.125 MB / 471 MB, free: 33.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2132, allocations: 320.9 kB / 471.3 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.2133, allocations: 35.66 kB / 471.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2133, allocations: 4 kB / 471.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of Templates: time 0.008712/0.222, allocations: 9.974 MB / 481.3 MB, free: 32.49 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518718242645264] Failed to read output from testmodel.py, exit status != 0: 0.22671465948224068 0.23625690600000002 0.037989169 Calling exit ...