Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.001471/0.001471, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001665/0.001665, allocations: 157.7 kB / 24.26 MB, free: 168 kB / 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3031/0.3031, allocations: 29.42 MB / 290.5 MB, free: 2.449 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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.58e-05/4.74e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.00842/0.008467, allocations: 5.095 MB / 374 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.0114, allocations: 1.499 MB / 375.5 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.01165, allocations: 23.81 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.01212, allocations: 123 kB / 375.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01315, allocations: 325.8 kB / 375.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.01367, allocations: 159.6 kB / 376.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.01471, allocations: 0.7159 MB / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.01527, allocations: 344.3 kB / 377.1 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.01589, allocations: 418.9 kB / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.01634, allocations: 247.2 kB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.01643, allocations: 51.98 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.01652, allocations: 44 kB / 377.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01672, allocations: 159.5 kB / 378 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.01707, allocations: 175.6 kB / 378.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008058/0.01787, allocations: 0.5997 MB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.01788, allocations: 3.984 kB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01788, allocations: 0 / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.01789, allocations: 0 / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001481/0.01937, allocations: 0.7096 MB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01942, allocations: 19.98 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.01959, allocations: 84.61 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.02042, allocations: 420.8 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.02058, allocations: 84.97 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02069, allocations: 52.11 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.02166, allocations: 0.4931 MB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.02169, allocations: 7.891 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.02174, allocations: 24 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.02176, allocations: 12 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.0225, allocations: 335.7 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.02514, allocations: 1.757 MB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.02565, allocations: 211.6 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.02588, allocations: 90.59 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.0259, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.02595, allocations: 38.5 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.02595, allocations: 0 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.002032/0.02798, allocations: 0.7863 MB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.0281, allocations: 110.8 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.02851, allocations: 304.4 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.02855, allocations: 29.7 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.02881, allocations: 284.1 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.0289, allocations: 79.27 kB / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02901, allocations: 69.91 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.02921, allocations: 346.8 kB / 385.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.02953, allocations: 83.89 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.02988, allocations: 221.1 kB / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.03117, allocations: 490 kB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03117, allocations: 0 / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000968/0.03214, allocations: 438 kB / 386.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.03216, allocations: 8 kB / 386.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.03217, allocations: 7.984 kB / 386.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.03261, allocations: 84.8 kB / 386.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.03287, allocations: 63.94 kB / 386.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.0352, allocations: 1.804 MB / 388.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.03542, allocations: 19.94 kB / 388.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.03545, allocations: 15.94 kB / 388.3 MB, free: 7.254 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (35): * Single equations (assignments): 34 * 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.0002799/0.03573, allocations: 189.8 kB / 388.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.03583, allocations: 43.8 kB / 388.5 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.0359, allocations: 39.11 kB / 388.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.03591, allocations: 0 / 388.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.03591, allocations: 4 kB / 388.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.03592, allocations: 3.938 kB / 388.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.0372, allocations: 0.6206 MB / 389.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.03721, allocations: 0 / 389.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.03748, allocations: 43.91 kB / 389.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.03759, allocations: 28.78 kB / 389.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.03761, allocations: 8 kB / 389.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.0388, allocations: 1.256 MB / 390.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.0388, allocations: 4.188 kB / 390.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.0397, allocations: 0.504 MB / 391.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.0398, allocations: 43.8 kB / 391.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.03984, allocations: 4 kB / 391.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.04005, allocations: 11.98 kB / 391.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.04013, allocations: 28 kB / 391.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.04014, allocations: 4 kB / 391.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003568/0.0405, allocations: 207.1 kB / 391.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0405, allocations: 0 / 391.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.04104, allocations: 84 kB / 391.4 MB, free: 3.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * 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 (21): * Single equations (assignments): 19 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.04119, allocations: 107.2 kB / 391.5 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.04204, allocations: 362.3 kB / 391.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.04204, allocations: 3.938 kB / 391.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.04245, allocations: 207.5 kB / 392.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.04313, allocations: 99.09 kB / 392.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.04496, allocations: 0.8548 MB / 393 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.04526, allocations: 239.8 kB / 393.3 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.04543, allocations: 43.27 kB / 393.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.04551, allocations: 28.5 kB / 393.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.04551, allocations: 0 / 393.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.05574, allocations: 4.037 MB / 397.4 MB, free: 14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7170797060243785]