Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 110.6 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.00108/0.00108, 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.336/1.336, 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.178/0.178, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 67.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3026, allocations: 58.05 MB / 0.5048 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005243/0.3079, allocations: 4.534 MB / 0.5092 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3099, allocations: 1.49 MB / 0.5107 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.3101, allocations: 20.56 kB / 0.5107 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.3106, allocations: 114.5 kB / 0.5108 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.3112, allocations: 281.9 kB / 0.511 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3115, allocations: 112.5 kB / 0.5112 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.3122, allocations: 0.5063 MB / 0.5117 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.3125, allocations: 161.2 kB / 0.5118 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.3128, allocations: 206.4 kB / 0.512 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.3131, allocations: 208.4 kB / 0.5122 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.3132, allocations: 29.81 kB / 0.5122 GB, free: 3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.3132, allocations: 26.75 kB / 0.5123 GB, free: 3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3134, allocations: 97.91 kB / 0.5123 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3135, allocations: 182.5 kB / 0.5125 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.314, allocations: 385.5 kB / 0.5129 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.314, allocations: 4 kB / 0.5129 GB, free: 2.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.314, allocations: 0 / 0.5129 GB, free: 2.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.314, allocations: 0 / 0.5129 GB, free: 2.684 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009991/0.3151, allocations: 0.6516 MB / 0.5135 GB, free: 2.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3151, allocations: 13.14 kB / 0.5135 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.3152, allocations: 40.84 kB / 0.5136 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.3158, allocations: 415.2 kB / 0.514 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3158, allocations: 32.44 kB / 0.514 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.3159, allocations: 25.62 kB / 0.514 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.3163, allocations: 336.2 kB / 0.5144 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3164, allocations: 5.125 kB / 0.5144 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.3164, allocations: 7.969 kB / 0.5144 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3164, allocations: 6.625 kB / 0.5144 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3168, allocations: 204.1 kB / 0.5146 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.318, allocations: 1.491 MB / 0.516 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.3184, allocations: 196.7 kB / 0.5162 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3185, allocations: 75.45 kB / 0.5163 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3185, allocations: 1.375 kB / 0.5163 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3186, allocations: 42.77 kB / 0.5163 GB, free: 28 kB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.3186, allocations: 0 / 0.5163 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001115/0.3197, allocations: 0.6771 MB / 0.517 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.3198, allocations: 139.8 kB / 0.5171 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.3201, allocations: 319 kB / 0.5174 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3201, allocations: 27.58 kB / 0.5174 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3203, allocations: 214.7 kB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3204, allocations: 69.33 kB / 0.5177 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.3204, allocations: 53.05 kB / 0.5178 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3206, allocations: 341.9 kB / 0.5181 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.3207, allocations: 55.03 kB / 0.5181 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3208, allocations: 148.8 kB / 0.5183 GB, free: 14.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3211, allocations: 221.9 kB / 0.5185 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3211, allocations: 5.094 kB / 0.5185 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004403/0.3216, allocations: 248.8 kB / 0.5187 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3216, allocations: 7.062 kB / 0.5188 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3216, allocations: 7.219 kB / 0.5188 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3216, allocations: 6.125 kB / 0.5188 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.322, allocations: 85.03 kB / 0.5188 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.3229, allocations: 1.369 MB / 0.5202 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3231, allocations: 10.03 kB / 0.5202 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3231, allocations: 10.06 kB / 0.5202 GB, free: 12.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.3233, allocations: 174 kB / 0.5204 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3234, allocations: 34.75 kB / 0.5204 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.3238, allocations: 180.8 kB / 0.5206 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3238, allocations: 2.656 kB / 0.5206 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3238, allocations: 8.625 kB / 0.5206 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.3239, allocations: 107 kB / 0.5207 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.324, allocations: 7.438 kB / 0.5207 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3242, allocations: 6.609 kB / 0.5207 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3242, allocations: 18.59 kB / 0.5207 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005836/0.3248, allocations: 492.7 kB / 0.5212 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005153/0.3253, allocations: 0.6392 MB / 0.5218 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001049/0.3255, allocations: 61.52 kB / 0.5219 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.3257, allocations: 224.6 kB / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Backend: time 2.21e-07/0.3257, allocations: 0 / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.3265, allocations: 193.8 kB / 0.5223 GB, free: 11.05 MB / 398.1 MB Notification: Performance of SimCode: time 0.001638/0.3282, allocations: 1.284 MB / 0.5235 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Templates: time 0.007463/0.3357, allocations: 3.473 MB / 0.5269 GB, free: 9.797 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches