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.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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 112.4 kB / 17.75 MB, free: 5.176 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.001131/0.001131, allocations: 183 kB / 18.68 MB, free: 4.25 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1729/0.1729, allocations: 38.03 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 55.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 58.06 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005889/0.3091, allocations: 5.701 MB / 0.5103 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.3118, allocations: 2.109 MB / 0.5124 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.312, allocations: 19.97 kB / 0.5124 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.3126, allocations: 178 kB / 0.5126 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008383/0.3134, allocations: 425.1 kB / 0.513 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.314, allocations: 242.9 kB / 0.5132 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3151, allocations: 0.8414 MB / 0.514 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.3157, allocations: 0.503 MB / 0.5145 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.3162, allocations: 361.3 kB / 0.5149 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.3167, allocations: 339.8 kB / 0.5152 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.3168, allocations: 54.84 kB / 0.5153 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.3171, allocations: 101.6 kB / 0.5153 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.3173, allocations: 181.7 kB / 0.5155 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.3176, allocations: 307.8 kB / 0.5158 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.3185, allocations: 0.7374 MB / 0.5165 GB, free: 300 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3185, allocations: 8 kB / 0.5165 GB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3185, allocations: 0 / 0.5165 GB, free: 292 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3186, allocations: 0 / 0.5165 GB, free: 292 kB / 382.1 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.001527/0.3201, allocations: 0.9053 MB / 0.5174 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3201, allocations: 8.656 kB / 0.5174 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3203, allocations: 67.08 kB / 0.5175 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3213, allocations: 0.5283 MB / 0.518 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.3214, allocations: 30.75 kB / 0.518 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3215, allocations: 53.81 kB / 0.5181 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.3225, allocations: 0.517 MB / 0.5186 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3225, allocations: 1.094 kB / 0.5186 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.3225, allocations: 17.86 kB / 0.5186 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/0.3226, allocations: 16.09 kB / 0.5186 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.3232, allocations: 341.6 kB / 0.519 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.3258, allocations: 2.056 MB / 0.521 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3263, allocations: 229 kB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3264, allocations: 84.75 kB / 0.5213 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3265, allocations: 11.94 kB / 0.5213 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.3267, allocations: 163.6 kB / 0.5214 GB, free: 12.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.567e-06/0.3267, allocations: 5.141 kB / 0.5214 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001627/0.3284, allocations: 0.9428 MB / 0.5224 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.3285, allocations: 140.4 kB / 0.5225 GB, free: 12.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.329, allocations: 429.5 kB / 0.5229 GB, free: 11.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.329, allocations: 31.92 kB / 0.5229 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3293, allocations: 300.3 kB / 0.5232 GB, free: 11.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3294, allocations: 91.2 kB / 0.5233 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3295, allocations: 80.92 kB / 0.5234 GB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3297, allocations: 355.2 kB / 0.5237 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3298, allocations: 84.81 kB / 0.5238 GB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3301, allocations: 225.7 kB / 0.524 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.3306, allocations: 321.2 kB / 0.5243 GB, free: 10.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3306, allocations: 1.219 kB / 0.5243 GB, free: 10.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008492/0.3314, allocations: 442.6 kB / 0.5247 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3315, allocations: 11.62 kB / 0.5248 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3315, allocations: 4.125 kB / 0.5248 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004182/0.3319, allocations: 88.86 kB / 0.5248 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3322, allocations: 76.59 kB / 0.5249 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.3342, allocations: 1.838 MB / 0.5267 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.3345, allocations: 18.23 kB / 0.5267 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3345, allocations: 19.19 kB / 0.5268 GB, free: 8.801 MB / 398.1 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.0002373/0.3348, allocations: 208.6 kB / 0.5269 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.3349, allocations: 44.69 kB / 0.527 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.3355, allocations: 289.2 kB / 0.5273 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3355, allocations: 2.766 kB / 0.5273 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3355, allocations: 1.125 kB / 0.5273 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.3356, allocations: 130.9 kB / 0.5274 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.3357, allocations: 7.25 kB / 0.5274 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3359, allocations: 13.27 kB / 0.5274 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.336, allocations: 31.09 kB / 0.5274 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009837/0.337, allocations: 0.5262 MB / 0.528 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006515/0.3376, allocations: 0.6574 MB / 0.5286 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001639/0.3378, allocations: 98.8 kB / 0.5287 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.3382, allocations: 297.1 kB / 0.529 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3382, allocations: 1.25 kB / 0.529 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.3403, allocations: 0.7458 MB / 0.5297 GB, free: 6.914 MB / 398.1 MB Notification: Performance of SimCode: time 0.002222/0.3425, allocations: 1.729 MB / 0.5314 GB, free: 5.672 MB / 398.1 MB Notification: Performance of Templates: time 0.01352/0.356, allocations: 6.904 MB / 0.5381 GB, free: 3 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)