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.00106/0.00106, 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.001183/0.001183, allocations: 174 kB / 25.61 MB, free: 8.926 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.8995/0.8995, allocations: 177.2 MB / 206.1 MB, free: 4.492 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.1306/0.1306, allocations: 29.41 MB / 292 MB, free: 2.633 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.613e-06/1.613e-06, allocations: 3.938 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.221e-05, allocations: 3.5 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.003897/0.00391, allocations: 5.125 MB / 376 MB, free: 27.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006227, allocations: 2.228 MB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.006498, allocations: 27.75 kB / 378.3 MB, free: 24.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.006954, allocations: 150.8 kB / 378.4 MB, free: 24.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.007688, allocations: 473.1 kB / 378.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.008145, allocations: 255.3 kB / 379.1 MB, free: 24.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.008858, allocations: 0.8872 MB / 380 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.009171, allocations: 401.4 kB / 380.4 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.009544, allocations: 0.5027 MB / 380.9 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.009832, allocations: 295.2 kB / 381.2 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.009879, allocations: 52 kB / 381.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.01005, allocations: 155.7 kB / 381.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.01016, allocations: 199.4 kB / 381.6 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.01029, allocations: 215.5 kB / 381.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.01073, allocations: 0.5255 MB / 382.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01073, allocations: 0 / 382.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01073, allocations: 0 / 382.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.01074, allocations: 0 / 382.3 MB, free: 20.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0008095/0.01155, allocations: 0.9563 MB / 383.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.01158, allocations: 8.031 kB / 383.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.01167, allocations: 96.56 kB / 383.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.01211, allocations: 478.6 kB / 383.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.01213, allocations: 33.12 kB / 383.9 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.0122, allocations: 51.98 kB / 383.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.0125, allocations: 418.6 kB / 384.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.01251, allocations: 0 / 384.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.01254, allocations: 16 kB / 384.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.01258, allocations: 17 kB / 384.4 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01273, allocations: 146.7 kB / 384.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01392, allocations: 2.132 MB / 386.6 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.01412, allocations: 192.6 kB / 386.8 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.01416, allocations: 55.09 kB / 386.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01418, allocations: 4 kB / 386.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.01431, allocations: 147.9 kB / 387 MB, free: 15.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.182e-06/0.01431, allocations: 3.938 kB / 387 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000687/0.01499, allocations: 0.5019 MB / 387.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.01502, allocations: 132.5 kB / 387.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.01521, allocations: 430.3 kB / 388.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01523, allocations: 33.7 kB / 388.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01533, allocations: 366.8 kB / 388.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.01537, allocations: 95.2 kB / 388.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.01543, allocations: 79.78 kB / 388.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.0155, allocations: 0.5393 MB / 389.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.01554, allocations: 32.97 kB / 389.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.01564, allocations: 254.8 kB / 389.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.01579, allocations: 285.2 kB / 389.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0158, allocations: 4 kB / 389.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003519/0.01615, allocations: 352.3 kB / 390.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01616, allocations: 8.562 kB / 390.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01617, allocations: 4 kB / 390.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.0164, allocations: 95.58 kB / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.01653, allocations: 75.84 kB / 390.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008937/0.01743, allocations: 1.975 MB / 392.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.01763, allocations: 23.97 kB / 392.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.01765, allocations: 20.03 kB / 392.3 MB, free: 10.11 MB / 314.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.0001202/0.01777, allocations: 188.3 kB / 392.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.01781, allocations: 51.72 kB / 392.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.01806, allocations: 205.8 kB / 392.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01806, allocations: 4 kB / 392.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01806, allocations: 7.938 kB / 392.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01807, allocations: 0 / 392.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.01854, allocations: 0.5765 MB / 393.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01854, allocations: 0 / 393.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01867, allocations: 43.98 kB / 393.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.01877, allocations: 43.56 kB / 393.4 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01879, allocations: 8 kB / 393.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005101/0.0193, allocations: 1.796 MB / 395.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.0193, allocations: 8 kB / 395.2 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.01958, allocations: 430.8 kB / 395.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.01964, allocations: 51.73 kB / 395.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.01967, allocations: 7.938 kB / 395.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.01976, allocations: 15.98 kB / 395.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.0198, allocations: 20 kB / 395.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.01981, allocations: 7.984 kB / 395.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.01991, allocations: 275 kB / 396 MB, free: 6.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01991, allocations: 0 / 396 MB, free: 6.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.02021, allocations: 135.9 kB / 396.1 MB, free: 6.074 MB / 314.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.0008073/0.02101, allocations: 440.5 kB / 396.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.02136, allocations: 374 kB / 396.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02136, allocations: 0 / 396.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.02151, allocations: 266.5 kB / 397.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.02189, allocations: 126.2 kB / 397.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.02316, allocations: 1.049 MB / 398.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.755e-05/0.02323, allocations: 145.2 kB / 398.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.02335, allocations: 59.36 kB / 398.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.0235, allocations: 170.1 kB / 398.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0235, allocations: 0 / 398.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of Templates: time 0.008353/0.03186, allocations: 7.259 MB / 406 MB, free: 12.44 MB / 330.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.1878274506889284]