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.001013/0.001013, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001654/0.002667, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001124/0.001124, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002654, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8876/0.8876, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08474/0.9724, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1132/0.1132, allocations: 29.42 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/0.2295, allocations: 9.528 MB / 283.1 MB, free: 12.82 MB / 282.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.793e-06/1.793e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.308e-05, allocations: 3.516 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006498/0.006511, allocations: 5.039 MB / 289.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.009431, allocations: 2.139 MB / 291.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.009638, allocations: 18.66 kB / 291.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.009988, allocations: 151.5 kB / 291.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007947/0.01078, allocations: 403.7 kB / 292.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.01125, allocations: 223.1 kB / 292.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.01209, allocations: 0.7289 MB / 293.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.01253, allocations: 350.4 kB / 293.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.01319, allocations: 481.1 kB / 293.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.01356, allocations: 239.7 kB / 294.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.01364, allocations: 48 kB / 294.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.0139, allocations: 142.1 kB / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.01404, allocations: 136.9 kB / 294.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.01424, allocations: 158 kB / 294.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.01483, allocations: 454.4 kB / 295.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.01484, allocations: 0 / 295.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01485, allocations: 0 / 295.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01486, allocations: 0 / 295.1 MB, free: 4.004 MB / 282.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.00121/0.01607, allocations: 0.8782 MB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.0161, allocations: 8.031 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01621, allocations: 68.88 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.0168, allocations: 381.3 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.01683, allocations: 33.12 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.0169, allocations: 39.98 kB / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.01734, allocations: 353.6 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.01736, allocations: 3.984 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.01739, allocations: 12 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.0174, allocations: 16 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01761, allocations: 123.1 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.01911, allocations: 1.464 MB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.01941, allocations: 206.1 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.01948, allocations: 50.55 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.0195, allocations: 7.984 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.01969, allocations: 135.4 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.01969, allocations: 0 / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001008/0.0207, allocations: 485.9 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.02074, allocations: 110.8 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.02106, allocations: 360.8 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.02108, allocations: 37.62 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.0212, allocations: 237 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.02127, allocations: 91.22 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.02136, allocations: 77.61 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.02146, allocations: 354.7 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.02153, allocations: 30.81 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.02168, allocations: 194.7 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.02193, allocations: 241.1 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02193, allocations: 3.938 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004916/0.02242, allocations: 275.5 kB / 301.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02244, allocations: 13.5 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02245, allocations: 4 kB / 301.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.02279, allocations: 96 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.02303, allocations: 83.08 kB / 301.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.02467, allocations: 1.69 MB / 303.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.02486, allocations: 19.94 kB / 303.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.02489, allocations: 19.98 kB / 303.2 MB, free: 11.33 MB / 298.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 0.0001194/0.02501, allocations: 128.6 kB / 303.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.02506, allocations: 31.97 kB / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.02549, allocations: 184.9 kB / 303.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.0255, allocations: 4 kB / 303.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.0255, allocations: 4 kB / 303.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.02551, allocations: 4 kB / 303.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.02617, allocations: 478.4 kB / 304 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.02617, allocations: 0 / 304 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.02641, allocations: 59.89 kB / 304 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.0265, allocations: 39.72 kB / 304.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.02667, allocations: 47.62 kB / 304.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.02668, allocations: 4 kB / 304.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.02771, allocations: 1.254 MB / 305.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02771, allocations: 0 / 305.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.02816, allocations: 375.2 kB / 305.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.0282, allocations: 8 kB / 305.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.02837, allocations: 11.94 kB / 305.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.02843, allocations: 27.89 kB / 305.8 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.02845, allocations: 4 kB / 305.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.02862, allocations: 147.5 kB / 306 MB, free: 8.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02862, allocations: 0 / 306 MB, free: 8.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.0291, allocations: 123.9 kB / 306.1 MB, free: 8.25 MB / 298.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.001716/0.03081, allocations: 0.6164 MB / 306.7 MB, free: 7.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.03139, allocations: 328.8 kB / 307 MB, free: 7.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.0314, allocations: 4 kB / 307 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.03172, allocations: 222.1 kB / 307.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.03257, allocations: 0.9786 MB / 308.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.0441, allocations: 0.9277 MB / 309.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.04422, allocations: 133.2 kB / 309.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.04442, allocations: 51.28 kB / 309.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.04469, allocations: 137.3 kB / 309.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04469, allocations: 11.94 kB / 309.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of Templates: time 0.01248/0.05716, allocations: 7.23 MB / 316.7 MB, free: 13.84 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: 2.7547607300803065]