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.0009212/0.0009212, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009865/0.0009865, allocations: 165 kB / 24.56 MB, free: 12 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.095/1.095, allocations: 177.1 MB / 205 MB, free: 5.621 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.2185/0.2185, allocations: 29.41 MB / 290.9 MB, free: 2.5 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.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.204e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.005019/0.005041, allocations: 4.838 MB / 374.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.007107, allocations: 1.577 MB / 376.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.007381, allocations: 27.75 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.007661, allocations: 111.2 kB / 376.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.008277, allocations: 321.8 kB / 376.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.008585, allocations: 159.6 kB / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.009292, allocations: 0.7159 MB / 377.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.009692, allocations: 336.4 kB / 377.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.01015, allocations: 435 kB / 378.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.01044, allocations: 247.3 kB / 378.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.01049, allocations: 44 kB / 378.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.01056, allocations: 52 kB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01069, allocations: 159.5 kB / 378.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.01084, allocations: 183.6 kB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.01136, allocations: 390.6 kB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01136, allocations: 0 / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01136, allocations: 0 / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.01137, allocations: 0 / 379.2 MB, free: 1.375 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.001288/0.01266, allocations: 0.8172 MB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.0127, allocations: 15.98 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01282, allocations: 88.61 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.01331, allocations: 407.8 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.0134, allocations: 84.97 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.01346, allocations: 56.11 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.01397, allocations: 413.9 kB / 381 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.01399, allocations: 7.953 kB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.01402, allocations: 16 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.01403, allocations: 12 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.01429, allocations: 169.7 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01593, allocations: 2.139 MB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.01617, allocations: 176.9 kB / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.01625, allocations: 67.09 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01627, allocations: 4 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.0163, allocations: 37.39 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.01631, allocations: 0 / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009503/0.01726, allocations: 0.6634 MB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.0173, allocations: 114.8 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.01752, allocations: 346.2 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.01754, allocations: 25.7 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.01767, allocations: 334.8 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.01772, allocations: 79.34 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.01779, allocations: 75.3 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01791, allocations: 0.5118 MB / 385.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.01798, allocations: 39.97 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01812, allocations: 237.6 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.01845, allocations: 363.4 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01845, allocations: 0 / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009487/0.0194, allocations: 344.4 kB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01942, allocations: 11.98 kB / 386.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01943, allocations: 4 kB / 386.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.01969, allocations: 84.14 kB / 386.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.01983, allocations: 63.92 kB / 386.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.02112, allocations: 2.227 MB / 389.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.02124, allocations: 19.94 kB / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.02126, allocations: 12 kB / 389.2 MB, free: 6.684 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.0001242/0.02138, allocations: 180.5 kB / 389.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.02143, allocations: 47.75 kB / 389.4 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.02147, allocations: 35.11 kB / 389.4 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02147, allocations: 8.031 kB / 389.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.02147, allocations: 3.938 kB / 389.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02148, allocations: 0 / 389.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.0221, allocations: 0.6137 MB / 390.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0221, allocations: 0 / 390.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.02223, allocations: 35.98 kB / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.0223, allocations: 31.64 kB / 390.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.02232, allocations: 4 kB / 390.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006412/0.02296, allocations: 1.732 MB / 391.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02296, allocations: 3.938 kB / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.02331, allocations: 0.4972 MB / 392.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.02336, allocations: 47.91 kB / 392.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.02339, allocations: 11.98 kB / 392.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.02348, allocations: 8 kB / 392.4 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.02354, allocations: 27.84 kB / 392.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.02355, allocations: 8 kB / 392.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.02368, allocations: 223 kB / 392.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02368, allocations: 4 kB / 392.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000335/0.02401, allocations: 84 kB / 392.8 MB, free: 2.875 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.0001136/0.02413, allocations: 99.25 kB / 392.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.02454, allocations: 361 kB / 393.2 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02454, allocations: 0 / 393.2 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.02471, allocations: 256.1 kB / 393.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.02512, allocations: 99.17 kB / 393.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.02691, allocations: 0.8451 MB / 394.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.464e-05/0.027, allocations: 129.2 kB / 394.5 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.02712, allocations: 51.25 kB / 394.6 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.02717, allocations: 24.5 kB / 394.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02717, allocations: 0 / 394.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of Templates: time 0.006596/0.03376, allocations: 4.276 MB / 398.9 MB, free: 12.73 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0660430532880127]