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.0006777/0.0006777, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009257/0.001603, allocations: 449.8 kB / 10.44 MB, free: 252 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.000697/0.000697, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000944/0.001641, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8987/0.8987, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07751/0.9762, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1339/0.1339, allocations: 29.44 MB / 273.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/0.2498, allocations: 9.525 MB / 283.1 MB, free: 12.81 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.243e-06/1.243e-06, allocations: 0 / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.152e-05, allocations: 3.297 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.004109/0.00412, allocations: 4.916 MB / 289.3 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.00563, allocations: 1.611 MB / 290.9 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.005787, allocations: 22.81 kB / 291 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.006, allocations: 118.4 kB / 291.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.006387, allocations: 322.2 kB / 291.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.006603, allocations: 151 kB / 291.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.007138, allocations: 0.7119 MB / 292.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.007452, allocations: 347.1 kB / 292.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.007827, allocations: 451.8 kB / 293 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.008091, allocations: 239.2 kB / 293.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.00814, allocations: 46.09 kB / 293.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.008203, allocations: 45.81 kB / 293.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.008306, allocations: 143 kB / 293.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.008434, allocations: 158.6 kB / 293.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.008756, allocations: 355.7 kB / 294 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.008765, allocations: 0 / 294 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008765, allocations: 4 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.008776, allocations: 0 / 294 MB, free: 4.949 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.0007493/0.009525, allocations: 0.7897 MB / 294.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.009551, allocations: 12.03 kB / 294.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.009629, allocations: 72.88 kB / 294.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.01001, allocations: 354.3 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.01007, allocations: 84.97 kB / 295.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.01012, allocations: 48.11 kB / 295.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.01046, allocations: 380.4 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01047, allocations: 0 / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.0105, allocations: 20 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01051, allocations: 8 kB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.01066, allocations: 141.6 kB / 295.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01175, allocations: 1.566 MB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.01191, allocations: 193.1 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.01196, allocations: 54.62 kB / 297.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01197, allocations: 4 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.01199, allocations: 34.56 kB / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.01199, allocations: 0 / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005555/0.01255, allocations: 420 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.01258, allocations: 111 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01273, allocations: 294.8 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01274, allocations: 29.7 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.01284, allocations: 248.8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.01288, allocations: 87.25 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.01294, allocations: 69.66 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.01302, allocations: 342.8 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.01306, allocations: 30.81 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.01315, allocations: 165.5 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.01338, allocations: 304.4 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01338, allocations: 0 / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002902/0.01367, allocations: 271.8 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01368, allocations: 9.562 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01368, allocations: 4 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.01386, allocations: 75.98 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01399, allocations: 75.84 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.01492, allocations: 1.618 MB / 301.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.01501, allocations: 12 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01502, allocations: 12 kB / 301.9 MB, free: 12.65 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 8.815e-05/0.01511, allocations: 141.4 kB / 302 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.01515, allocations: 27.91 kB / 302 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.01518, allocations: 35.11 kB / 302.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01518, allocations: 7.984 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01518, allocations: 0 / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01519, allocations: 8 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01561, allocations: 451.9 kB / 302.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01561, allocations: 4 kB / 302.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01574, allocations: 47.97 kB / 302.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.01577, allocations: 27.81 kB / 302.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.713e-05/0.01582, allocations: 16.84 kB / 302.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01583, allocations: 15.97 kB / 302.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004389/0.01627, allocations: 1.162 MB / 303.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01627, allocations: 3.984 kB / 303.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.0165, allocations: 395.9 kB / 304.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01652, allocations: 8.125 kB / 304.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.0166, allocations: 12 kB / 304.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01664, allocations: 27.84 kB / 304.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.01665, allocations: 4 kB / 304.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.422e-05/0.01671, allocations: 104.6 kB / 304.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01671, allocations: 0 / 304.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01697, allocations: 88 kB / 304.4 MB, free: 9.934 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 6.491e-05/0.01703, allocations: 80.41 kB / 304.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.0173, allocations: 290.9 kB / 304.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.01731, allocations: 12 kB / 304.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.01745, allocations: 189.6 kB / 305 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.01795, allocations: 0.7749 MB / 305.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.02742, allocations: 0.8684 MB / 306.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.02751, allocations: 129.2 kB / 306.8 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.02763, allocations: 47.25 kB / 306.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.02778, allocations: 119.3 kB / 306.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02779, allocations: 0 / 306.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of Templates: time 0.007606/0.03539, allocations: 4.462 MB / 311.4 MB, free: 2.84 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.604599987156689]