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.0009198/0.0009198, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.000882/0.000882, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 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.883/0.883, allocations: 177.1 MB / 206.1 MB, free: 4.453 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.1323/0.1323, allocations: 29.43 MB / 292 MB, free: 2.613 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.302e-06/1.302e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.936e-05, allocations: 7.75 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.00764/0.007659, allocations: 4.801 MB / 375.7 MB, free: 27.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.01272, allocations: 1.554 MB / 377.2 MB, free: 25.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.01297, allocations: 27.75 kB / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.01332, allocations: 127 kB / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.01697, allocations: 314 kB / 377.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.01727, allocations: 159.6 kB / 377.8 MB, free: 25.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006191/0.01789, allocations: 0.7159 MB / 378.6 MB, free: 24.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.01824, allocations: 344.3 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.01865, allocations: 435 kB / 379.3 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.01894, allocations: 251.3 kB / 379.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.01899, allocations: 44 kB / 379.6 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.01905, allocations: 48 kB / 379.6 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.01916, allocations: 167.5 kB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.0193, allocations: 183.6 kB / 380 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.01966, allocations: 374.7 kB / 380.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01966, allocations: 0 / 380.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01966, allocations: 0 / 380.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.01967, allocations: 0 / 380.4 MB, free: 22.79 MB / 314.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.003803/0.02347, allocations: 0.821 MB / 381.2 MB, free: 21.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.0235, allocations: 12.03 kB / 381.2 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.02361, allocations: 96.53 kB / 381.3 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.02406, allocations: 395.8 kB / 381.7 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.02412, allocations: 92.95 kB / 381.8 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.02418, allocations: 44.12 kB / 381.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.02456, allocations: 397.9 kB / 382.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.02458, allocations: 7.891 kB / 382.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.02461, allocations: 20 kB / 382.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.02462, allocations: 12 kB / 382.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.0248, allocations: 130.8 kB / 382.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.02913, allocations: 2.139 MB / 384.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.02932, allocations: 161.1 kB / 384.7 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.02938, allocations: 79.06 kB / 384.7 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.02939, allocations: 4 kB / 384.7 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.02941, allocations: 41.39 kB / 384.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.02941, allocations: 0 / 384.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006848/0.0301, allocations: 457.2 kB / 385.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.03012, allocations: 110.8 kB / 385.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.03029, allocations: 346 kB / 385.7 MB, free: 17.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.0303, allocations: 29.7 kB / 385.7 MB, free: 17.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.03041, allocations: 334.8 kB / 386 MB, free: 16.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.03044, allocations: 75.62 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.03052, allocations: 83.27 kB / 386.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.03057, allocations: 0.5156 MB / 386.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.03062, allocations: 31.97 kB / 386.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.03072, allocations: 225.6 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.03098, allocations: 346.6 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.03098, allocations: 4 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003982/0.03138, allocations: 312.9 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.03139, allocations: 8 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0314, allocations: 4 kB / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.03163, allocations: 79.55 kB / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/0.0348, allocations: 68.06 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.03581, allocations: 2.188 MB / 389.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.03595, allocations: 15.95 kB / 390 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.03596, allocations: 12.09 kB / 390 MB, free: 12.48 MB / 314.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.0001018/0.03607, allocations: 188.4 kB / 390.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.03613, allocations: 39.81 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.03617, allocations: 35.11 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.03617, allocations: 4 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.03617, allocations: 3.984 kB / 390.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.03618, allocations: 4 kB / 390.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.03672, allocations: 0.5361 MB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.03673, allocations: 0 / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.03687, allocations: 39.97 kB / 390.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.105e-05/0.03693, allocations: 23.61 kB / 390.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.03694, allocations: 8 kB / 390.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/0.03736, allocations: 1.709 MB / 392.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.03737, allocations: 4 kB / 392.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.04066, allocations: 495.3 kB / 393 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.04071, allocations: 39.75 kB / 393.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.04074, allocations: 11.94 kB / 393.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.04088, allocations: 11.98 kB / 393.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.04092, allocations: 15.97 kB / 393.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.04093, allocations: 4 kB / 393.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.04102, allocations: 231 kB / 393.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04102, allocations: 0 / 393.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.04144, allocations: 87.94 kB / 393.4 MB, free: 8.812 MB / 314.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.371e-05/0.04153, allocations: 111.1 kB / 393.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.04186, allocations: 349.9 kB / 393.9 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.04186, allocations: 0 / 393.9 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.04199, allocations: 241.4 kB / 394.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.04249, allocations: 89.08 kB / 394.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.04689, allocations: 0.8582 MB / 395.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.181e-05/0.04697, allocations: 133.2 kB / 395.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.04709, allocations: 39.27 kB / 395.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.04723, allocations: 150.1 kB / 395.4 MB, free: 6.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.04723, allocations: 0 / 395.4 MB, free: 6.75 MB / 314.7 MB Notification: Performance of Templates: time 0.009887/0.05712, allocations: 4.469 MB / 399.8 MB, free: 2.391 MB / 314.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.0498825777322054]