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.001059/0.001059, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001194/0.001194, allocations: 161 kB / 24.56 MB, free: 16 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 0.9747/0.9747, allocations: 177.1 MB / 205 MB, free: 5.59 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.28/0.28, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.934e-06/1.934e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.935e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.009103/0.009132, allocations: 4.843 MB / 374.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.0115, allocations: 1.573 MB / 376 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.01183, allocations: 27.75 kB / 376.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.01224, allocations: 119 kB / 376.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008678/0.0131, allocations: 317.9 kB / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.0135, allocations: 155.7 kB / 376.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.01431, allocations: 0.7081 MB / 377.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.01473, allocations: 352.3 kB / 377.7 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.01523, allocations: 411.1 kB / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.01557, allocations: 255.3 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.01563, allocations: 51.94 kB / 378.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.01569, allocations: 48 kB / 378.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.01581, allocations: 167.5 kB / 378.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.01597, allocations: 179.6 kB / 378.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.01643, allocations: 390.6 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01643, allocations: 0 / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01643, allocations: 0 / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01644, allocations: 0 / 379.2 MB, free: 1.414 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.0008906/0.01733, allocations: 0.8212 MB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.01737, allocations: 11.98 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01749, allocations: 92.61 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.01797, allocations: 415.7 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.01807, allocations: 88.97 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.01813, allocations: 52.08 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.01859, allocations: 410 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01861, allocations: 8 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.01863, allocations: 16 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01864, allocations: 8 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.01888, allocations: 165.8 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.0205, allocations: 2.135 MB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.02074, allocations: 188.4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.02083, allocations: 67.11 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.02085, allocations: 7.984 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.02088, allocations: 41.39 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.02088, allocations: 0 / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009782/0.02186, allocations: 0.6493 MB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.02192, allocations: 114.8 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.02216, allocations: 346.2 kB / 384.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.02217, allocations: 29.7 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.02232, allocations: 326.9 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.02237, allocations: 83.56 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.02243, allocations: 75.31 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.02257, allocations: 0.5196 MB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.02264, allocations: 39.97 kB / 385.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.0228, allocations: 233.6 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.02316, allocations: 363.5 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02316, allocations: 8 kB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004179/0.02358, allocations: 340.8 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.0236, allocations: 4 kB / 386.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.02361, allocations: 4 kB / 386.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.02386, allocations: 79.62 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.02401, allocations: 72 kB / 386.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.02555, allocations: 2.219 MB / 389.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.02566, allocations: 23.92 kB / 389.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.02567, allocations: 12 kB / 389.2 MB, free: 6.719 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.0001287/0.0258, allocations: 188.4 kB / 389.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.02586, allocations: 43.77 kB / 389.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.02589, allocations: 39.11 kB / 389.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.0259, allocations: 0 / 389.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.0259, allocations: 4 kB / 389.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.02591, allocations: 7.969 kB / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.02656, allocations: 0.602 MB / 390 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02656, allocations: 4.031 kB / 390 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.02668, allocations: 43.91 kB / 390.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.02676, allocations: 31.61 kB / 390.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.02677, allocations: 0 / 390.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006701/0.02744, allocations: 1.732 MB / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.02745, allocations: 4 kB / 391.9 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.0278, allocations: 0.4978 MB / 392.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.02785, allocations: 43.8 kB / 392.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.02787, allocations: 8 kB / 392.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.02796, allocations: 3.984 kB / 392.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.02802, allocations: 23.91 kB / 392.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.02803, allocations: 8 kB / 392.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.02816, allocations: 230.9 kB / 392.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02816, allocations: 4.062 kB / 392.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.0285, allocations: 84 kB / 392.7 MB, free: 2.91 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 9.651e-05/0.0286, allocations: 99.25 kB / 392.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.02906, allocations: 372.7 kB / 393.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02906, allocations: 3.938 kB / 393.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.02924, allocations: 247 kB / 393.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.02965, allocations: 91.36 kB / 393.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.03112, allocations: 0.849 MB / 394.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.0312, allocations: 129.2 kB / 394.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.03132, allocations: 51.25 kB / 394.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.03137, allocations: 28.5 kB / 394.6 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03137, allocations: 0 / 394.6 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of Templates: time 0.006696/0.03807, allocations: 4.06 MB / 398.7 MB, free: 12.98 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.274110952857882]