Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 110.3 kB / 17.75 MB, free: 5.352 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.001102/0.001102, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.179/0.179, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.83 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 58.06 MB / 0.5048 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005362/0.2905, allocations: 4.797 MB / 0.5095 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.2925, allocations: 1.474 MB / 0.5109 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.2928, allocations: 18.44 kB / 0.5109 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.2932, allocations: 115.3 kB / 0.511 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006672/0.2939, allocations: 270.2 kB / 0.5113 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.2943, allocations: 139.5 kB / 0.5114 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.295, allocations: 0.5834 MB / 0.512 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.2955, allocations: 395.5 kB / 0.5124 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.2959, allocations: 239.8 kB / 0.5126 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.2963, allocations: 242.5 kB / 0.5128 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.2964, allocations: 40.19 kB / 0.5129 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.2965, allocations: 39.5 kB / 0.5129 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2966, allocations: 124.8 kB / 0.513 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2969, allocations: 222.4 kB / 0.5132 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.2975, allocations: 0.504 MB / 0.5137 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2975, allocations: 1.031 kB / 0.5137 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2976, allocations: 0 / 0.5137 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2976, allocations: 7.875 kB / 0.5137 GB, free: 2.047 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001201/0.2988, allocations: 0.7196 MB / 0.5144 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2988, allocations: 9.281 kB / 0.5144 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.2989, allocations: 50.56 kB / 0.5145 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.2995, allocations: 414.5 kB / 0.5149 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.2996, allocations: 61.58 kB / 0.5149 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.2996, allocations: 43.52 kB / 0.515 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.3003, allocations: 436.5 kB / 0.5154 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3003, allocations: 5.109 kB / 0.5154 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3003, allocations: 16.11 kB / 0.5154 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3004, allocations: 9.812 kB / 0.5154 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.3009, allocations: 275.2 kB / 0.5157 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.3031, allocations: 1.829 MB / 0.5175 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.3035, allocations: 182.5 kB / 0.5177 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3036, allocations: 72.22 kB / 0.5177 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3037, allocations: 3.359 kB / 0.5177 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3037, allocations: 40.34 kB / 0.5178 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.594e-06/0.3037, allocations: 0 / 0.5178 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001491/0.3052, allocations: 0.7245 MB / 0.5185 GB, free: 14.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3053, allocations: 108.9 kB / 0.5186 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.3057, allocations: 320.5 kB / 0.5189 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3057, allocations: 26.8 kB / 0.5189 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3059, allocations: 247.2 kB / 0.5191 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.306, allocations: 70.33 kB / 0.5192 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3061, allocations: 66.25 kB / 0.5193 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3063, allocations: 345.2 kB / 0.5196 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.3065, allocations: 67.62 kB / 0.5197 GB, free: 13.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.3068, allocations: 199.8 kB / 0.5199 GB, free: 13.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3072, allocations: 290.4 kB / 0.5201 GB, free: 13.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3072, allocations: 1.062 kB / 0.5201 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005965/0.3078, allocations: 332.2 kB / 0.5205 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3078, allocations: 10.66 kB / 0.5205 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3079, allocations: 5.156 kB / 0.5205 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3079, allocations: 10.06 kB / 0.5205 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3082, allocations: 76.56 kB / 0.5206 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.3082, allocations: 16.17 kB / 0.5206 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3085, allocations: 19.25 kB / 0.5206 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3085, allocations: 17.28 kB / 0.5206 GB, free: 12.91 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.3088, allocations: 178.8 kB / 0.5208 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.3088, allocations: 39.81 kB / 0.5208 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.3093, allocations: 193.7 kB / 0.521 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3093, allocations: 1.75 kB / 0.521 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3093, allocations: 1.891 kB / 0.521 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.3094, allocations: 105.6 kB / 0.5211 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.3094, allocations: 11.05 kB / 0.5211 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3096, allocations: 3.719 kB / 0.5211 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.3097, allocations: 16.25 kB / 0.5211 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006428/0.3103, allocations: 439 kB / 0.5216 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006706/0.311, allocations: 0.5826 MB / 0.5221 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000158/0.3112, allocations: 66.31 kB / 0.5222 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.3115, allocations: 217.7 kB / 0.5224 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3115, allocations: 4 kB / 0.5224 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008326/0.3123, allocations: 219.8 kB / 0.5226 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.001895/0.3142, allocations: 1.389 MB / 0.524 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Templates: time 0.008985/0.3232, allocations: 3.903 MB / 0.5278 GB, free: 10.07 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches