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.001623/0.001623, allocations: 110.2 kB / 17.74 MB, free: 5.359 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.001848/0.001848, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.333/1.333, 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.1731/0.1731, allocations: 38.05 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2947, allocations: 58.05 MB / 0.5048 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005011/0.2997, allocations: 4.796 MB / 0.5095 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3014, allocations: 1.477 MB / 0.5109 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3016, allocations: 18.56 kB / 0.5109 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.3019, allocations: 119.5 kB / 0.511 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.3024, allocations: 268.1 kB / 0.5113 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3027, allocations: 134.4 kB / 0.5114 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.3033, allocations: 0.5869 MB / 0.512 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.3037, allocations: 392.9 kB / 0.5124 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.304, allocations: 244.5 kB / 0.5126 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3043, allocations: 235 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.3044, allocations: 42.38 kB / 0.5129 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.3045, allocations: 40.5 kB / 0.5129 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3046, allocations: 124.4 kB / 0.513 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3048, allocations: 218.5 kB / 0.5132 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.3053, allocations: 0.515 MB / 0.5137 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3053, allocations: 0 / 0.5137 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3053, allocations: 4.688 kB / 0.5137 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.3053, allocations: 1.156 kB / 0.5137 GB, free: 2.008 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.001052/0.3063, allocations: 0.704 MB / 0.5144 GB, free: 1.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3064, allocations: 8.938 kB / 0.5144 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.3065, allocations: 46.97 kB / 0.5145 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.307, allocations: 417.7 kB / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.3071, allocations: 68.27 kB / 0.5149 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.3072, allocations: 32.86 kB / 0.515 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.3078, allocations: 432.1 kB / 0.5154 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3078, allocations: 6.094 kB / 0.5154 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3079, allocations: 15.38 kB / 0.5154 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3079, allocations: 8.844 kB / 0.5154 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.3084, allocations: 272 kB / 0.5157 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.3103, allocations: 1.833 MB / 0.5175 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.3106, allocations: 187.5 kB / 0.5176 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3108, allocations: 72.59 kB / 0.5177 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3108, allocations: 7.094 kB / 0.5177 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3108, allocations: 39.97 kB / 0.5177 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3108, allocations: 0 / 0.5177 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001352/0.3122, allocations: 0.7038 MB / 0.5184 GB, free: 14.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3123, allocations: 105.6 kB / 0.5185 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3126, allocations: 315.6 kB / 0.5188 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3126, allocations: 35.39 kB / 0.5189 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3128, allocations: 237.6 kB / 0.5191 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.3129, allocations: 70.45 kB / 0.5192 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.313, allocations: 66.88 kB / 0.5192 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3132, allocations: 340.7 kB / 0.5196 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.3134, allocations: 72.52 kB / 0.5196 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.3136, allocations: 202.4 kB / 0.5198 GB, free: 13.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3141, allocations: 289.6 kB / 0.5201 GB, free: 13.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3141, allocations: 1.906 kB / 0.5201 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005525/0.3147, allocations: 324.7 kB / 0.5204 GB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3147, allocations: 14.62 kB / 0.5204 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3147, allocations: 4.594 kB / 0.5204 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3147, allocations: 13.55 kB / 0.5204 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.315, allocations: 81.75 kB / 0.5205 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.315, allocations: 7.125 kB / 0.5205 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3152, allocations: 12.56 kB / 0.5205 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3153, allocations: 21.03 kB / 0.5206 GB, free: 12.92 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.0001766/0.3155, allocations: 183.1 kB / 0.5207 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.3155, allocations: 35.56 kB / 0.5208 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.3159, allocations: 192.9 kB / 0.5209 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.316, allocations: 6.938 kB / 0.521 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.316, allocations: 0 / 0.521 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.316, allocations: 102.4 kB / 0.521 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.3161, allocations: 7.594 kB / 0.5211 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3163, allocations: 11.48 kB / 0.5211 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.3164, allocations: 11.7 kB / 0.5211 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006302/0.317, allocations: 436.7 kB / 0.5215 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006406/0.3176, allocations: 0.5802 MB / 0.5221 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001513/0.3178, allocations: 71.73 kB / 0.5221 GB, free: 11.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.318, allocations: 217.3 kB / 0.5223 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3181, allocations: 0 / 0.5223 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.3188, allocations: 223.2 kB / 0.5226 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.001706/0.3205, allocations: 1.369 MB / 0.5239 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Templates: time 0.008464/0.329, allocations: 3.91 MB / 0.5277 GB, free: 10.11 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