Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_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.001312/0.001312, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001259/0.001259, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.03 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 58.05 MB / 0.5048 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005568/0.3454, allocations: 5.16 MB / 0.5098 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.348, allocations: 1.986 MB / 0.5117 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.3483, allocations: 14.34 kB / 0.5118 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.3488, allocations: 147.2 kB / 0.5119 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009159/0.3498, allocations: 363.4 kB / 0.5122 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.3504, allocations: 221.1 kB / 0.5125 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.3512, allocations: 0.7014 MB / 0.5131 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.3517, allocations: 435.7 kB / 0.5136 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.3521, allocations: 295.1 kB / 0.5138 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.3525, allocations: 299.1 kB / 0.5141 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.3526, allocations: 51.25 kB / 0.5142 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3527, allocations: 93.98 kB / 0.5143 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3529, allocations: 149.6 kB / 0.5144 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.3531, allocations: 271.4 kB / 0.5147 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.3539, allocations: 0.6469 MB / 0.5153 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3539, allocations: 0 / 0.5153 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3539, allocations: 1.125 kB / 0.5153 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.3539, allocations: 0 / 0.5153 GB, free: 0.9766 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.001402/0.3553, allocations: 0.8396 MB / 0.5161 GB, free: 356 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3554, allocations: 13.02 kB / 0.5161 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3555, allocations: 63.53 kB / 0.5162 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.3562, allocations: 486 kB / 0.5166 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3563, allocations: 27.81 kB / 0.5167 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.3563, allocations: 37.75 kB / 0.5167 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.3571, allocations: 461.9 kB / 0.5172 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3571, allocations: 1.438 kB / 0.5172 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.3572, allocations: 16 kB / 0.5172 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3572, allocations: 10.59 kB / 0.5172 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.3578, allocations: 273.3 kB / 0.5174 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.3602, allocations: 1.848 MB / 0.5192 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.3607, allocations: 252.1 kB / 0.5195 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3609, allocations: 82.33 kB / 0.5196 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3609, allocations: 11.62 kB / 0.5196 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.3612, allocations: 180 kB / 0.5197 GB, free: 13.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.597e-06/0.3612, allocations: 0 / 0.5197 GB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001766/0.363, allocations: 0.9132 MB / 0.5206 GB, free: 13.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.3631, allocations: 136.5 kB / 0.5208 GB, free: 13.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.3636, allocations: 408.5 kB / 0.5212 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3636, allocations: 31.78 kB / 0.5212 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3638, allocations: 261 kB / 0.5214 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.3639, allocations: 86.66 kB / 0.5215 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.364, allocations: 70.28 kB / 0.5216 GB, free: 12.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3641, allocations: 354 kB / 0.5219 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3643, allocations: 82.28 kB / 0.522 GB, free: 12.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3646, allocations: 220 kB / 0.5222 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.365, allocations: 314.4 kB / 0.5225 GB, free: 11.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.365, allocations: 2.188 kB / 0.5225 GB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008339/0.3658, allocations: 430.7 kB / 0.5229 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3658, allocations: 6.812 kB / 0.5229 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3659, allocations: 3.844 kB / 0.5229 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.3663, allocations: 96.48 kB / 0.523 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3665, allocations: 77.06 kB / 0.5231 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.3689, allocations: 2.01 MB / 0.5251 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.3692, allocations: 22.42 kB / 0.5251 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3692, allocations: 17.41 kB / 0.5251 GB, free: 9.664 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.0002395/0.3695, allocations: 194.7 kB / 0.5253 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.3696, allocations: 40.16 kB / 0.5253 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.3702, allocations: 304.7 kB / 0.5256 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3702, allocations: 6.875 kB / 0.5256 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3702, allocations: 0 / 0.5256 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3703, allocations: 130.9 kB / 0.5257 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.3704, allocations: 7.547 kB / 0.5258 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3706, allocations: 14.47 kB / 0.5258 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.3706, allocations: 18.64 kB / 0.5258 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009583/0.3716, allocations: 0.5282 MB / 0.5263 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006737/0.3723, allocations: 0.6857 MB / 0.527 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001608/0.3725, allocations: 92.28 kB / 0.5271 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.3728, allocations: 282.9 kB / 0.5273 GB, free: 8.176 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.3728, allocations: 0 / 0.5273 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3749, allocations: 0.7746 MB / 0.5281 GB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 0.002024/0.3769, allocations: 1.585 MB / 0.5296 GB, free: 6.641 MB / 398.1 MB Notification: Performance of Templates: time 0.012/0.3889, allocations: 6.622 MB / 0.5361 GB, free: 4.375 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches