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.0006557/0.0006557, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009402/0.001596, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006852/0.0006852, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001601, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8863/0.8863, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07776/0.9641, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.1229/0.1229, allocations: 29.42 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.138/0.2609, allocations: 9.52 MB / 282.9 MB, free: 12.85 MB / 282.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.142e-06/1.142e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.567e-05, allocations: 6.734 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.004598/0.004614, allocations: 4.893 MB / 289.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.00678, allocations: 1.61 MB / 290.7 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.007048, allocations: 31.97 kB / 290.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.007326, allocations: 117.4 kB / 290.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.0079, allocations: 310.5 kB / 291.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.008198, allocations: 158.5 kB / 291.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007135/0.008911, allocations: 0.7085 MB / 292 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.009292, allocations: 352.4 kB / 292.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.009817, allocations: 439.2 kB / 292.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.01017, allocations: 239.8 kB / 293 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.01023, allocations: 49.09 kB / 293.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.01032, allocations: 46.31 kB / 293.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.01044, allocations: 138.8 kB / 293.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.0106, allocations: 157.6 kB / 293.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.011, allocations: 363.6 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.01101, allocations: 0 / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01101, allocations: 0 / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.01104, allocations: 1.062 kB / 293.8 MB, free: 5.059 MB / 282.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.0008952/0.01193, allocations: 0.7872 MB / 294.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.01196, allocations: 8.031 kB / 294.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.01205, allocations: 68.89 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.01253, allocations: 358.3 kB / 295 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.0126, allocations: 88.97 kB / 295.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.01265, allocations: 44.12 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.01325, allocations: 380.4 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01327, allocations: 7.922 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.01329, allocations: 23.98 kB / 295.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.0133, allocations: 12 kB / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.01346, allocations: 125.6 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01472, allocations: 1.574 MB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.01491, allocations: 193.2 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.01496, allocations: 48.78 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01498, allocations: 7.984 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.015, allocations: 38.56 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.01501, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.00062/0.01563, allocations: 418.1 kB / 297.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.01566, allocations: 106.8 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01582, allocations: 286.8 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.01584, allocations: 33.69 kB / 298.3 MB, free: 332 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01594, allocations: 248.6 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.016, allocations: 87.44 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.01607, allocations: 65.67 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.01616, allocations: 354.9 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.0162, allocations: 30.81 kB / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.0163, allocations: 165.6 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.01655, allocations: 285.9 kB / 299.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01655, allocations: 4 kB / 299.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003086/0.01686, allocations: 270.5 kB / 299.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01687, allocations: 12 kB / 299.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01688, allocations: 4 kB / 299.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.01708, allocations: 71.62 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01722, allocations: 71.91 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.01827, allocations: 1.615 MB / 301.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01837, allocations: 19.98 kB / 301.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01839, allocations: 12 kB / 301.6 MB, free: 12.8 MB / 298.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 9.952e-05/0.01849, allocations: 140.6 kB / 301.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.01853, allocations: 27.91 kB / 301.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.01857, allocations: 39.11 kB / 301.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01857, allocations: 4 kB / 301.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01857, allocations: 0 / 301.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01858, allocations: 0 / 301.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007677/0.01935, allocations: 460 kB / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01935, allocations: 0 / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.01949, allocations: 51.94 kB / 302.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01953, allocations: 27.81 kB / 302.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.136e-05/0.01959, allocations: 24.78 kB / 302.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.0196, allocations: 4 kB / 302.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004844/0.02009, allocations: 1.166 MB / 303.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02009, allocations: 3.984 kB / 303.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.02033, allocations: 411.1 kB / 303.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.02035, allocations: 4 kB / 304 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.02044, allocations: 8 kB / 304 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.02048, allocations: 23.91 kB / 304 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.02048, allocations: 4 kB / 304 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.665e-05/0.02055, allocations: 104.6 kB / 304.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02055, allocations: 0 / 304.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.02083, allocations: 92.06 kB / 304.2 MB, free: 10.08 MB / 298.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 8.018e-05/0.02091, allocations: 80.36 kB / 304.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.0212, allocations: 280 kB / 304.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.02122, allocations: 12.19 kB / 304.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.02135, allocations: 189.9 kB / 304.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.0217, allocations: 111.1 kB / 304.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/0.029, allocations: 0.8776 MB / 305.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.02908, allocations: 129.2 kB / 305.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02919, allocations: 43.27 kB / 305.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.02932, allocations: 119.3 kB / 306 MB, free: 8.16 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02932, allocations: 0 / 306 MB, free: 8.16 MB / 298.7 MB Notification: Performance of Templates: time 0.006827/0.03615, allocations: 4.547 MB / 310.5 MB, free: 3.723 MB / 298.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6423471868038177]