Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001178/0.001178, allocations: 83.58 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.001111/0.001111, 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 1.086/1.086, allocations: 177.1 MB / 205 MB, free: 5.637 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.2386/0.2386, allocations: 29.42 MB / 290.9 MB, free: 2.496 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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.057e-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_par): time 0.00518/0.00521, allocations: 5.186 MB / 374.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.00802, allocations: 2.235 MB / 377.1 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.00834, allocations: 23.81 kB / 377.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.008866, allocations: 162.7 kB / 377.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.009754, allocations: 465.1 kB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.01022, allocations: 255.3 kB / 377.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008984/0.01112, allocations: 0.8872 MB / 378.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.01155, allocations: 401.3 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.01208, allocations: 0.5066 MB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.01245, allocations: 299.1 kB / 380 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.01251, allocations: 56 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.01273, allocations: 139.9 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.01287, allocations: 199.4 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.01304, allocations: 211.5 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.01364, allocations: 0.5255 MB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01365, allocations: 0 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01365, allocations: 4 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.01366, allocations: 0 / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001105/0.01476, allocations: 0.9529 MB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.0148, allocations: 11.98 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01492, allocations: 100.6 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.01549, allocations: 494.6 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.01552, allocations: 33.12 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.01561, allocations: 48 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.01607, allocations: 442.6 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01609, allocations: 11.89 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.01612, allocations: 20 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/0.01617, allocations: 20.97 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.01642, allocations: 173.7 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.01805, allocations: 2.194 MB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.01833, allocations: 196.2 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.01841, allocations: 63.16 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.01843, allocations: 4 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.0186, allocations: 156 kB / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.0186, allocations: 0 / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001035/0.01964, allocations: 0.7665 MB / 386.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.01968, allocations: 128.5 kB / 386.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.02, allocations: 438.6 kB / 387.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.02002, allocations: 29.7 kB / 387.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.02018, allocations: 358.9 kB / 387.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.02024, allocations: 87.23 kB / 387.8 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.02032, allocations: 79.84 kB / 387.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.02047, allocations: 0.5235 MB / 388.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.02056, allocations: 48.97 kB / 388.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.02072, allocations: 272.6 kB / 388.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.02098, allocations: 312.1 kB / 389 MB, free: 6.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02098, allocations: 0 / 389 MB, free: 6.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004739/0.02146, allocations: 380.4 kB / 389.4 MB, free: 6.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.02147, allocations: 4 kB / 389.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.02148, allocations: 11.94 kB / 389.4 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.02176, allocations: 100.1 kB / 389.5 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.02191, allocations: 71.91 kB / 389.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.02324, allocations: 2.018 MB / 391.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.02338, allocations: 27.88 kB / 391.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.02339, allocations: 12 kB / 391.6 MB, free: 4.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001247/0.02352, allocations: 184.5 kB / 391.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.02357, allocations: 51.72 kB / 391.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.02388, allocations: 228.8 kB / 392.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02388, allocations: 4 kB / 392.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.02389, allocations: 0 / 392.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02389, allocations: 7.984 kB / 392.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.02454, allocations: 0.6475 MB / 392.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02454, allocations: 8 kB / 392.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02468, allocations: 43.92 kB / 392.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.0248, allocations: 43.62 kB / 392.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.02481, allocations: 4 kB / 392.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008149/0.02563, allocations: 1.842 MB / 394.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02563, allocations: 0 / 394.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.02603, allocations: 438.4 kB / 395.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.0261, allocations: 59.69 kB / 395.2 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.02613, allocations: 4 kB / 395.2 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.02622, allocations: 12 kB / 395.2 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.02628, allocations: 27.81 kB / 395.2 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.02629, allocations: 8.031 kB / 395.2 MB, free: 404 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.02647, allocations: 287 kB / 395.5 MB, free: 124 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02647, allocations: 3.938 kB / 395.5 MB, free: 120 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.02683, allocations: 127.9 kB / 395.6 MB, free: 15.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009277/0.02776, allocations: 452.2 kB / 396.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.02827, allocations: 394.4 kB / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02827, allocations: 0 / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.02848, allocations: 261.4 kB / 396.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.02889, allocations: 131 kB / 396.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.03052, allocations: 1.044 MB / 397.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.03063, allocations: 145.1 kB / 398 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.0308, allocations: 63.36 kB / 398.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.03087, allocations: 36.48 kB / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03087, allocations: 0 / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of Templates: time 0.009382/0.04025, allocations: 7.01 MB / 405.1 MB, free: 6.66 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2605531737208366]