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.001023/0.001023, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001115/0.001115, allocations: 166.2 kB / 24.91 MB, free: 9.199 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2714/0.2714, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.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.543e-06/1.543e-06, allocations: 0 / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.23e-05, allocations: 9.656 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.00734/0.007373, allocations: 5.156 MB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004262/0.01163, allocations: 2.27 MB / 324.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.01226, allocations: 27.75 kB / 324.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.01302, allocations: 158.8 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.01453, allocations: 469.1 kB / 324.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.01532, allocations: 255.3 kB / 325.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.01671, allocations: 0.8834 MB / 326 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.01732, allocations: 415.2 kB / 326.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.0182, allocations: 0.4961 MB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.01874, allocations: 291.1 kB / 327.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.01882, allocations: 56 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.01921, allocations: 143.8 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.01945, allocations: 203.4 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.0197, allocations: 207.5 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.02058, allocations: 0.5333 MB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02059, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02059, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.0206, allocations: 0 / 328.3 MB, free: 4.453 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001323/0.02193, allocations: 0.8083 MB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.02197, allocations: 15.97 kB / 329.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.02211, allocations: 76.88 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.02284, allocations: 413.2 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.02288, allocations: 45.05 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.02299, allocations: 51.94 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.02349, allocations: 394.2 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.02351, allocations: 0 / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.02354, allocations: 16 kB / 330.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.0236, allocations: 21 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.02383, allocations: 145.6 kB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.0256, allocations: 1.541 MB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.0259, allocations: 190.4 kB / 332 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.02596, allocations: 42.62 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.02599, allocations: 4 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.02618, allocations: 146.9 kB / 332.2 MB, free: 336 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.545e-06/0.02618, allocations: 0 / 332.2 MB, free: 336 kB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001017/0.0272, allocations: 478.9 kB / 332.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.02726, allocations: 132.5 kB / 332.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.02762, allocations: 384.6 kB / 333.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.02764, allocations: 33.7 kB / 333.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.02778, allocations: 261.1 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.02785, allocations: 95.19 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.02795, allocations: 78.11 kB / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.02807, allocations: 358.7 kB / 334 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.02814, allocations: 43.86 kB / 334 MB, free: 14.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.02831, allocations: 196 kB / 334.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.02856, allocations: 236 kB / 334.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02856, allocations: 0 / 334.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000452/0.02901, allocations: 299.3 kB / 334.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.02903, allocations: 8 kB / 334.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.02904, allocations: 4.562 kB / 334.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.02937, allocations: 91.59 kB / 334.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.02956, allocations: 71.91 kB / 334.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.0309, allocations: 1.409 MB / 336.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.03109, allocations: 15.95 kB / 336.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.03111, allocations: 20.03 kB / 336.4 MB, free: 11.83 MB / 314.7 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.0001506/0.03126, allocations: 136.5 kB / 336.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.03132, allocations: 39.91 kB / 336.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.03164, allocations: 183.9 kB / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.03164, allocations: 0 / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.03164, allocations: 4 kB / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.03165, allocations: 0 / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.03234, allocations: 485.8 kB / 337.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03234, allocations: 0 / 337.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.03251, allocations: 47.92 kB / 337.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.03265, allocations: 39.62 kB / 337.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.03267, allocations: 11.94 kB / 337.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008119/0.03348, allocations: 1.239 MB / 338.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.03348, allocations: 0 / 338.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.03388, allocations: 364.7 kB / 338.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.03398, allocations: 43.72 kB / 338.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.03402, allocations: 4 kB / 338.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.03415, allocations: 11.98 kB / 339 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.03421, allocations: 27.86 kB / 339 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.03423, allocations: 12 kB / 339 MB, free: 9.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.03441, allocations: 155.5 kB / 339.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03441, allocations: 0 / 339.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000516/0.03492, allocations: 127.9 kB / 339.3 MB, free: 8.77 MB / 314.7 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.001466/0.03639, allocations: 0.5723 MB / 339.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.03693, allocations: 312.9 kB / 340.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.03694, allocations: 8 kB / 340.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.03717, allocations: 206.3 kB / 340.4 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.03764, allocations: 123.4 kB / 340.5 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.03971, allocations: 0.9791 MB / 341.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.03985, allocations: 141.2 kB / 341.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.04007, allocations: 59.36 kB / 341.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.0403, allocations: 141.3 kB / 341.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of SimCode: time 1.943e-06/0.04031, allocations: 0 / 341.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of Templates: time 0.01219/0.0525, allocations: 7.155 MB / 348.9 MB, free: 15.44 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.303558086976409]