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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.9 kB / 17.75 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 190.6 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1816/0.1816, allocations: 38.03 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.286, allocations: 58.07 MB / 0.5048 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.0055/0.2916, allocations: 5.158 MB / 0.5098 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.294, allocations: 1.983 MB / 0.5117 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.2942, allocations: 14.88 kB / 0.5117 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.2947, allocations: 158.4 kB / 0.5119 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007015/0.2954, allocations: 356.1 kB / 0.5122 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2958, allocations: 221.6 kB / 0.5124 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.2966, allocations: 0.7017 MB / 0.5131 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.297, allocations: 423.1 kB / 0.5135 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.2974, allocations: 307 kB / 0.5138 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.2978, allocations: 290.4 kB / 0.5141 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.2979, allocations: 48.28 kB / 0.5142 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2981, allocations: 97.7 kB / 0.5142 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2983, allocations: 149.6 kB / 0.5144 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.2985, allocations: 270.9 kB / 0.5146 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.2992, allocations: 0.6468 MB / 0.5153 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2992, allocations: 0.6562 kB / 0.5153 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2992, allocations: 4 kB / 0.5153 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2992, allocations: 4.875 kB / 0.5153 GB, free: 1.039 MB / 382.1 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.001343/0.3006, allocations: 0.8362 MB / 0.5161 GB, free: 424 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3006, allocations: 12.27 kB / 0.5161 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3007, allocations: 56.02 kB / 0.5162 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.3015, allocations: 488.4 kB / 0.5166 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3015, allocations: 28.25 kB / 0.5167 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.3016, allocations: 42.08 kB / 0.5167 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.3023, allocations: 458 kB / 0.5171 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3023, allocations: 1.656 kB / 0.5171 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.3024, allocations: 16.91 kB / 0.5172 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3024, allocations: 9.688 kB / 0.5172 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.303, allocations: 273.8 kB / 0.5174 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.3053, allocations: 1.851 MB / 0.5192 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.3058, allocations: 251.7 kB / 0.5195 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.306, allocations: 87.3 kB / 0.5196 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.306, allocations: 6.719 kB / 0.5196 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.3063, allocations: 176.4 kB / 0.5197 GB, free: 13.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.346e-06/0.3063, allocations: 0 / 0.5197 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001706/0.308, allocations: 0.9218 MB / 0.5206 GB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3081, allocations: 132.5 kB / 0.5208 GB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.3086, allocations: 408.1 kB / 0.5211 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3086, allocations: 30.89 kB / 0.5212 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3088, allocations: 261.4 kB / 0.5214 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.3089, allocations: 90.31 kB / 0.5215 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.309, allocations: 70.98 kB / 0.5216 GB, free: 12.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3092, allocations: 353.6 kB / 0.5219 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3094, allocations: 83.31 kB / 0.522 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.3096, allocations: 222 kB / 0.5222 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.31, allocations: 315.9 kB / 0.5225 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3101, allocations: 1.375 kB / 0.5225 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008443/0.3109, allocations: 427.8 kB / 0.5229 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3109, allocations: 6.656 kB / 0.5229 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.311, allocations: 8.312 kB / 0.5229 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.3114, allocations: 92.72 kB / 0.523 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.3116, allocations: 66.09 kB / 0.5231 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.314, allocations: 2.011 MB / 0.5251 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.3143, allocations: 26.66 kB / 0.5251 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.3143, allocations: 13.83 kB / 0.5251 GB, free: 9.734 MB / 398.1 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.0002326/0.3146, allocations: 194.3 kB / 0.5253 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.3147, allocations: 40.16 kB / 0.5253 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.3153, allocations: 308.1 kB / 0.5256 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3153, allocations: 6.281 kB / 0.5256 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3153, allocations: 1.75 kB / 0.5256 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3155, allocations: 127 kB / 0.5257 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3155, allocations: 7.188 kB / 0.5257 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3157, allocations: 14.53 kB / 0.5258 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.3158, allocations: 21.92 kB / 0.5258 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009932/0.3168, allocations: 0.5401 MB / 0.5263 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007006/0.3175, allocations: 0.6799 MB / 0.527 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001626/0.3177, allocations: 100.3 kB / 0.5271 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.318, allocations: 286.7 kB / 0.5273 GB, free: 8.223 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.318, allocations: 0 / 0.5273 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.3202, allocations: 0.7555 MB / 0.5281 GB, free: 7.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.002196/0.3224, allocations: 1.593 MB / 0.5296 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01258/0.335, allocations: 6.612 MB / 0.5361 GB, free: 4.426 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1)