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.001521/0.001521, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001223/0.001223, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2435/0.2435, allocations: 29.42 MB / 291.2 MB, free: 2.512 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.754e-06/1.754e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.959e-05, allocations: 4.141 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.004999/0.005019, allocations: 5.418 MB / 375 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.00715, allocations: 1.561 MB / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.007415, allocations: 23.81 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.007785, allocations: 127 kB / 376.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006676/0.008453, allocations: 321.8 kB / 377.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.008792, allocations: 151.7 kB / 377.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008247/0.009617, allocations: 0.7159 MB / 377.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.01002, allocations: 352.3 kB / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.0105, allocations: 426.9 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.01083, allocations: 255.3 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.01089, allocations: 44 kB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.01095, allocations: 48 kB / 379 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.01107, allocations: 171.5 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.01122, allocations: 187.6 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.01166, allocations: 390.5 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01166, allocations: 0 / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.01167, allocations: 4 kB / 379.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.01167, allocations: 0 / 379.8 MB, free: 1.152 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.0009348/0.01261, allocations: 0.8096 MB / 380.6 MB, free: 308 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.01264, allocations: 11.98 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.01275, allocations: 88.61 kB / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.01326, allocations: 423.6 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.01333, allocations: 84.97 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.01339, allocations: 48.08 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.01384, allocations: 418 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01386, allocations: 3.938 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.01389, allocations: 24 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.01391, allocations: 12 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.01416, allocations: 161.8 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01561, allocations: 2.139 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.01582, allocations: 177.1 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.01589, allocations: 71.16 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01591, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01593, allocations: 37.33 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01593, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000802/0.01673, allocations: 0.6493 MB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.01677, allocations: 114.8 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.01699, allocations: 350.1 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01701, allocations: 29.7 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.01715, allocations: 326.9 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.0172, allocations: 87.27 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.01727, allocations: 71.31 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01738, allocations: 0.5157 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.01746, allocations: 43.91 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.0176, allocations: 233.7 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.01791, allocations: 363.5 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01791, allocations: 0 / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004226/0.01834, allocations: 340.5 kB / 387.3 MB, free: 9.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01835, allocations: 8 kB / 387.3 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01835, allocations: 7.938 kB / 387.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.01858, allocations: 80.16 kB / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01871, allocations: 63.91 kB / 387.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.01997, allocations: 2.242 MB / 389.7 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.02007, allocations: 16 kB / 389.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.02009, allocations: 12 kB / 389.7 MB, free: 6.457 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.0001136/0.0202, allocations: 184.4 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.02025, allocations: 39.77 kB / 390 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.02028, allocations: 43.09 kB / 390 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02028, allocations: 4 kB / 390 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.02029, allocations: 4.031 kB / 390 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02029, allocations: 0 / 390 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.02089, allocations: 0.602 MB / 390.6 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02089, allocations: 4 kB / 390.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.02102, allocations: 43.91 kB / 390.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-05/0.02109, allocations: 23.61 kB / 390.7 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.0211, allocations: 12.03 kB / 390.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/0.02177, allocations: 1.732 MB / 392.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02177, allocations: 0 / 392.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.02215, allocations: 0.5017 MB / 392.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.0222, allocations: 39.92 kB / 393 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.02222, allocations: 11.98 kB / 393 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.02231, allocations: 8 kB / 393 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.02236, allocations: 19.91 kB / 393 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.02237, allocations: 8 kB / 393 MB, free: 2.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.0225, allocations: 227 kB / 393.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0225, allocations: 0 / 393.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.02281, allocations: 88 kB / 393.3 MB, free: 2.656 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 8.541e-05/0.02289, allocations: 99.19 kB / 393.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.02333, allocations: 367.9 kB / 393.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02333, allocations: 0 / 393.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.02358, allocations: 252.1 kB / 394 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.02421, allocations: 103.7 kB / 394.1 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.02574, allocations: 0.8412 MB / 395 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.762e-05/0.02583, allocations: 133.2 kB / 395.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.02594, allocations: 47.25 kB / 395.1 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.02598, allocations: 28.5 kB / 395.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02598, allocations: 0 / 395.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of Templates: time 0.006143/0.03213, allocations: 4.06 MB / 399.2 MB, free: 12.72 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.193084028083831]