Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001331/0.001331, allocations: 84 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001469/0.001469, allocations: 164 kB / 23.95 MB, free: 4.156 MB / 14.72 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.48/1.48, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1796/0.1796, allocations: 29.43 MB / 290.1 MB, free: 3.262 MB / 270.1 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.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.914e-05, allocations: 2.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008746/0.008775, allocations: 5.04 MB / 435.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.01286, allocations: 1.994 MB / 437.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.01324, allocations: 23.81 kB / 437.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.01385, allocations: 150.8 kB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.01499, allocations: 405.3 kB / 438.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.01557, allocations: 219.5 kB / 438.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.01663, allocations: 0.7313 MB / 439.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.01713, allocations: 327.9 kB / 439.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.01785, allocations: 438.8 kB / 440 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.0183, allocations: 243.2 kB / 440.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.886e-05/0.01839, allocations: 48 kB / 440.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.01873, allocations: 131.9 kB / 440.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01895, allocations: 163.5 kB / 440.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.01921, allocations: 183.5 kB / 440.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.02024, allocations: 0.7087 MB / 441.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02024, allocations: 4 kB / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.02024, allocations: 4 kB / 441.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.02026, allocations: 0 / 441.5 MB, free: 7.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001742/0.022, allocations: 0.7974 MB / 442.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.02205, allocations: 15.98 kB / 442.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.02217, allocations: 56.56 kB / 442.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.02305, allocations: 431.1 kB / 442.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.02309, allocations: 29.12 kB / 442.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.02317, allocations: 40 kB / 442.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.02399, allocations: 482.8 kB / 443.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.02401, allocations: 3.938 kB / 443.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.02406, allocations: 16 kB / 443.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.02407, allocations: 8 kB / 443.3 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.02458, allocations: 278.3 kB / 443.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.02696, allocations: 1.635 MB / 445.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.02755, allocations: 247.7 kB / 445.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.02771, allocations: 86.61 kB / 445.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.02774, allocations: 4 kB / 445.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.02806, allocations: 180.7 kB / 445.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.02806, allocations: 0 / 445.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001834/0.02989, allocations: 0.8504 MB / 446.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.02999, allocations: 132.5 kB / 446.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.03049, allocations: 397.8 kB / 447.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.03053, allocations: 33.7 kB / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.03075, allocations: 284 kB / 447.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.03084, allocations: 91.27 kB / 447.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.03096, allocations: 73.59 kB / 447.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.03114, allocations: 354.8 kB / 447.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.03133, allocations: 83.95 kB / 448 MB, free: 240 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1918/0.2231, allocations: 227.9 kB / 448.2 MB, free: 29.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.2236, allocations: 311.9 kB / 448.5 MB, free: 29.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2236, allocations: 2.344 kB / 448.5 MB, free: 29.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009714/0.2246, allocations: 429.7 kB / 449 MB, free: 29.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2246, allocations: 10.67 kB / 449 MB, free: 29.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2246, allocations: 4.781 kB / 449 MB, free: 29.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.2251, allocations: 89.64 kB / 449.1 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2254, allocations: 66.34 kB / 449.1 MB, free: 29.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.2276, allocations: 1.876 MB / 451 MB, free: 28.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.2279, allocations: 20.41 kB / 451 MB, free: 28.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2279, allocations: 18.38 kB / 451 MB, free: 28.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.2282, allocations: 188.7 kB / 451.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.2282, allocations: 46.16 kB / 451.3 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/0.2288, allocations: 296 kB / 451.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2289, allocations: 7.719 kB / 451.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2289, allocations: 1.188 kB / 451.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.2289, allocations: 2.531 kB / 451.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2299, allocations: 0.6548 MB / 452.2 MB, free: 27.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2299, allocations: 5.219 kB / 452.2 MB, free: 27.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.2301, allocations: 44.34 kB / 452.3 MB, free: 27.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.2303, allocations: 48.58 kB / 452.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2304, allocations: 15.7 kB / 452.3 MB, free: 27.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.2314, allocations: 1.411 MB / 453.7 MB, free: 26.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2314, allocations: 1.062 kB / 453.7 MB, free: 26.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.2322, allocations: 0.4904 MB / 454.2 MB, free: 25.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2323, allocations: 56.44 kB / 454.3 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2323, allocations: 7.938 kB / 454.3 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2326, allocations: 13.88 kB / 454.3 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.2326, allocations: 27.88 kB / 454.3 MB, free: 25.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.2327, allocations: 6.5 kB / 454.3 MB, free: 25.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.233, allocations: 273.9 kB / 454.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.233, allocations: 0 / 454.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.2335, allocations: 123.9 kB / 454.7 MB, free: 25.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001836/0.2354, allocations: 493.2 kB / 455.2 MB, free: 25.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.2365, allocations: 400.8 kB / 455.6 MB, free: 25.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2365, allocations: 5.062 kB / 455.6 MB, free: 25.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.2369, allocations: 233.2 kB / 455.8 MB, free: 25.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.2377, allocations: 127.2 kB / 456 MB, free: 25.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2394, allocations: 0.9805 MB / 456.9 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2397, allocations: 253.5 kB / 457.2 MB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.2399, allocations: 65.02 kB / 457.3 MB, free: 24.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.24, allocations: 38.78 kB / 457.3 MB, free: 24.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.24, allocations: 0 / 457.3 MB, free: 24.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01488/0.2549, allocations: 6.35 MB / 463.6 MB, free: 23.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.025447398424149] Failed to read output from testmodel.py, exit status != 0: 0.26361842453479767 0.27480694 0.252096763 Calling exit ...