Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.92 kB / 21.49 MB, free: 2.996 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.001163/0.001163, allocations: 167.2 kB / 24.91 MB, free: 9.152 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.9712/0.9712, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2642/0.2642, allocations: 29.41 MB / 291.2 MB, free: 2.48 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.474e-05, allocations: 3.188 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004332/0.004347, allocations: 4.943 MB / 321.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.006801, allocations: 2.122 MB / 323.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.007103, allocations: 23.81 kB / 323.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.007568, allocations: 138.9 kB / 324 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007754/0.008343, allocations: 417.4 kB / 324.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.008728, allocations: 215.5 kB / 324.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008466/0.009574, allocations: 0.7353 MB / 325.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.009908, allocations: 357.8 kB / 325.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.01042, allocations: 442.9 kB / 326.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.01073, allocations: 239.3 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.01078, allocations: 48 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.01101, allocations: 139.8 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01114, allocations: 155.5 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.0113, allocations: 191.5 kB / 326.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.01178, allocations: 490.2 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.01178, allocations: 4 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.01178, allocations: 0 / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.01179, allocations: 0 / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008033/0.01259, allocations: 0.7497 MB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01262, allocations: 15.98 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.01271, allocations: 64.89 kB / 328.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.01316, allocations: 397.1 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.01318, allocations: 33.12 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.01323, allocations: 36 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.01359, allocations: 358.3 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01361, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.01363, allocations: 16 kB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01364, allocations: 19.98 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.01379, allocations: 115.2 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.01506, allocations: 1.457 MB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.0153, allocations: 206.1 kB / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.01535, allocations: 54.62 kB / 330.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01537, allocations: 4 kB / 330.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01551, allocations: 143.3 kB / 331.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.01551, allocations: 0 / 331.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007247/0.01624, allocations: 474.4 kB / 331.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.01628, allocations: 140.5 kB / 331.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.01651, allocations: 356.9 kB / 332 MB, free: 468 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01653, allocations: 33.7 kB / 332 MB, free: 428 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.0168, allocations: 245 kB / 332.3 MB, free: 176 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.01685, allocations: 95.19 kB / 332.4 MB, free: 80 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.01691, allocations: 73.56 kB / 332.4 MB, free: 0 / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01702, allocations: 358.7 kB / 332.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.01706, allocations: 31.53 kB / 332.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01717, allocations: 181.9 kB / 333 MB, free: 15.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.01733, allocations: 237.3 kB / 333.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01734, allocations: 4 kB / 333.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003182/0.01765, allocations: 279.5 kB / 333.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01767, allocations: 4 kB / 333.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.01768, allocations: 7.984 kB / 333.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.01791, allocations: 95.98 kB / 333.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01803, allocations: 59.91 kB / 333.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.01911, allocations: 1.67 MB / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01921, allocations: 19.94 kB / 335.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01923, allocations: 16.03 kB / 335.4 MB, free: 12.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 9.732e-05/0.01933, allocations: 148.6 kB / 335.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.01936, allocations: 31.97 kB / 335.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01958, allocations: 184.9 kB / 335.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01959, allocations: 4 kB / 335.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01959, allocations: 4 kB / 335.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01959, allocations: 0 / 335.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.02, allocations: 482.8 kB / 336.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02, allocations: 4 kB / 336.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.02013, allocations: 47.91 kB / 336.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.02022, allocations: 39.64 kB / 336.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.02023, allocations: 4 kB / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005618/0.0208, allocations: 1.239 MB / 337.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0208, allocations: 3.938 kB / 337.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.02108, allocations: 370.5 kB / 337.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.02114, allocations: 51.64 kB / 338 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.02117, allocations: 4 kB / 338 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.02125, allocations: 4 kB / 338 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.02129, allocations: 27.92 kB / 338 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.0213, allocations: 15.98 kB / 338 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.02141, allocations: 147.5 kB / 338.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02141, allocations: 3.938 kB / 338.2 MB, free: 9.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.02171, allocations: 123.9 kB / 338.3 MB, free: 9.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.001086/0.0228, allocations: 0.5656 MB / 338.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.02318, allocations: 324.7 kB / 339.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.02319, allocations: 4 kB / 339.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.02335, allocations: 202.1 kB / 339.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.02367, allocations: 128.6 kB / 339.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.02525, allocations: 0.905 MB / 340.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.02533, allocations: 129.2 kB / 340.5 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.02545, allocations: 51.23 kB / 340.6 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.02565, allocations: 141.2 kB / 340.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02565, allocations: 0 / 340.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of Templates: time 0.009291/0.03494, allocations: 6.996 MB / 347.7 MB, free: 0.6641 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.195924388244748]