Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.00196/0.00196, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.00247/0.00247, allocations: 164.9 kB / 23.95 MB, free: 4.172 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.49/1.49, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1775/0.1775, allocations: 29.43 MB / 290.1 MB, free: 3.277 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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.718e-05/3.887e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008627/0.008665, allocations: 5.499 MB / 436.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.01255, allocations: 2.134 MB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.01289, allocations: 27.75 kB / 438.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.01353, allocations: 170.7 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.01472, allocations: 481 kB / 439 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.01539, allocations: 250.5 kB / 439.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01667, allocations: 0.8872 MB / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.01723, allocations: 381.2 kB / 440.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.01794, allocations: 0.4908 MB / 441 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.01843, allocations: 295.2 kB / 441.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01853, allocations: 52 kB / 441.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.01885, allocations: 151.8 kB / 441.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.01909, allocations: 195.4 kB / 441.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.01937, allocations: 203.5 kB / 441.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.02043, allocations: 0.7944 MB / 442.7 MB, free: 5.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.02043, allocations: 0 / 442.7 MB, free: 5.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02043, allocations: 0 / 442.7 MB, free: 5.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.02044, allocations: 0 / 442.7 MB, free: 5.914 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001788/0.02223, allocations: 0.8607 MB / 443.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.02227, allocations: 11.98 kB / 443.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.02242, allocations: 72.52 kB / 443.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.02341, allocations: 467 kB / 444.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.02344, allocations: 33.12 kB / 444.1 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.02358, allocations: 52 kB / 444.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.02453, allocations: 0.5385 MB / 444.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.02455, allocations: 3.984 kB / 444.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.02461, allocations: 19.98 kB / 444.7 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/0.02469, allocations: 17 kB / 444.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.02531, allocations: 331.6 kB / 445.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.0282, allocations: 1.827 MB / 446.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.02867, allocations: 235 kB / 447.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.02881, allocations: 74.48 kB / 447.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.02884, allocations: 4 kB / 447.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.02914, allocations: 164.7 kB / 447.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.02914, allocations: 0 / 447.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002019/0.03116, allocations: 0.8656 MB / 448.2 MB, free: 88 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1783/0.2095, allocations: 134.5 kB / 448.3 MB, free: 30.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.2101, allocations: 415.1 kB / 448.7 MB, free: 30.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.2102, allocations: 30.8 kB / 448.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2104, allocations: 306.3 kB / 449.1 MB, free: 30.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.2105, allocations: 96.45 kB / 449.2 MB, free: 30.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2106, allocations: 72.34 kB / 449.2 MB, free: 30.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.2107, allocations: 357.4 kB / 449.6 MB, free: 29.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2108, allocations: 86.42 kB / 449.7 MB, free: 29.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.2111, allocations: 255.5 kB / 449.9 MB, free: 29.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.2114, allocations: 323.4 kB / 450.2 MB, free: 29.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2114, allocations: 1.312 kB / 450.2 MB, free: 29.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009318/0.2124, allocations: 439.1 kB / 450.7 MB, free: 29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2124, allocations: 9.062 kB / 450.7 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2124, allocations: 4.531 kB / 450.7 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.2129, allocations: 95.81 kB / 450.8 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.2132, allocations: 77.5 kB / 450.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.2151, allocations: 1.673 MB / 452.5 MB, free: 27.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.2154, allocations: 23 kB / 452.5 MB, free: 27.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.2154, allocations: 19 kB / 452.6 MB, free: 27.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 39 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.2157, allocations: 220.7 kB / 452.8 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.2157, allocations: 45.98 kB / 452.8 MB, free: 27.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.2163, allocations: 267.2 kB / 453.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2163, allocations: 3.906 kB / 453.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2163, allocations: 2.688 kB / 453.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2163, allocations: 9.078 kB / 453.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.2175, allocations: 0.6589 MB / 453.8 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2175, allocations: 11.88 kB / 453.8 MB, free: 26.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.2177, allocations: 46.56 kB / 453.8 MB, free: 26.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.218, allocations: 49.61 kB / 453.9 MB, free: 26.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.218, allocations: 7.641 kB / 453.9 MB, free: 26.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.219, allocations: 1.413 MB / 455.3 MB, free: 25.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.219, allocations: 1.641 kB / 455.3 MB, free: 25.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.2197, allocations: 475.6 kB / 455.8 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.2198, allocations: 58.28 kB / 455.8 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.2199, allocations: 7.906 kB / 455.8 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2201, allocations: 13.41 kB / 455.8 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.2202, allocations: 26.84 kB / 455.9 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.2202, allocations: 7.766 kB / 455.9 MB, free: 25.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.2205, allocations: 289.6 kB / 456.1 MB, free: 24.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2205, allocations: 0 / 456.1 MB, free: 24.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.2211, allocations: 133.6 kB / 456.3 MB, free: 24.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (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 {(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.001665/0.2228, allocations: 493.9 kB / 456.8 MB, free: 24.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.2235, allocations: 376 kB / 457.1 MB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2235, allocations: 128 / 457.1 MB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.2239, allocations: 236.7 kB / 457.4 MB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.2246, allocations: 120 kB / 457.5 MB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2262, allocations: 1.056 MB / 458.5 MB, free: 23.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2265, allocations: 285.1 kB / 458.8 MB, free: 23.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.2267, allocations: 65.45 kB / 458.9 MB, free: 23.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.2268, allocations: 35.33 kB / 458.9 MB, free: 23.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2268, allocations: 0 / 458.9 MB, free: 23.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01416/0.241, allocations: 6.499 MB / 465.4 MB, free: 22.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.219481445848942] Failed to read output from testmodel.py, exit status != 0: 0.25017621740698814 0.25968951500000004 0.23697816600000002 Calling exit ...