Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001586/0.001586, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1709/0.1709, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 55.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 58.05 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004445/0.3111, allocations: 4.198 MB / 0.5089 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3124, allocations: 0.9447 MB / 0.5098 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3125, allocations: 10.69 kB / 0.5098 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3127, allocations: 48.45 kB / 0.5098 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.3132, allocations: 207.2 kB / 0.51 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3134, allocations: 101.5 kB / 0.5101 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.3139, allocations: 478.7 kB / 0.5106 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3141, allocations: 154.1 kB / 0.5107 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.3144, allocations: 206.8 kB / 0.5109 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.3148, allocations: 250.3 kB / 0.5112 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.3148, allocations: 31 kB / 0.5112 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.3149, allocations: 27.75 kB / 0.5112 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3151, allocations: 120.5 kB / 0.5114 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3152, allocations: 179.4 kB / 0.5115 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.3157, allocations: 383.3 kB / 0.5119 GB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3157, allocations: 1.5 kB / 0.5119 GB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3157, allocations: 0 / 0.5119 GB, free: 3.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3157, allocations: 0 / 0.5119 GB, free: 3.277 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.001211/0.3169, allocations: 0.6946 MB / 0.5126 GB, free: 2.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3169, allocations: 16.14 kB / 0.5126 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.317, allocations: 39.22 kB / 0.5126 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.3177, allocations: 400.1 kB / 0.513 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3177, allocations: 20.02 kB / 0.513 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.3178, allocations: 24.62 kB / 0.513 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.3183, allocations: 366 kB / 0.5134 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3183, allocations: 5.484 kB / 0.5134 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.3183, allocations: 15.44 kB / 0.5134 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3183, allocations: 6.812 kB / 0.5134 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.3187, allocations: 252.1 kB / 0.5137 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3203, allocations: 1.453 MB / 0.5151 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3206, allocations: 149 kB / 0.5152 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3207, allocations: 85.28 kB / 0.5153 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3207, allocations: 2 kB / 0.5153 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3208, allocations: 45.47 kB / 0.5154 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.355e-06/0.3208, allocations: 1.078 kB / 0.5154 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001056/0.3218, allocations: 0.6753 MB / 0.516 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.3219, allocations: 82.91 kB / 0.5161 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.3222, allocations: 300.6 kB / 0.5164 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3222, allocations: 26.95 kB / 0.5164 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3223, allocations: 211.8 kB / 0.5166 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.3224, allocations: 59.48 kB / 0.5167 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.3225, allocations: 61.22 kB / 0.5167 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3226, allocations: 334 kB / 0.517 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3228, allocations: 72.39 kB / 0.5171 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.323, allocations: 171.8 kB / 0.5173 GB, free: 15.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.3233, allocations: 259.3 kB / 0.5175 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3233, allocations: 1.406 kB / 0.5175 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005633/0.3239, allocations: 283.7 kB / 0.5178 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3239, allocations: 11.28 kB / 0.5178 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.324, allocations: 3.531 kB / 0.5178 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.324, allocations: 5.438 kB / 0.5178 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3243, allocations: 56.28 kB / 0.5179 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3243, allocations: 10.89 kB / 0.5179 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3245, allocations: 16.67 kB / 0.5179 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.3245, allocations: 15.16 kB / 0.5179 GB, free: 14.99 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 (29): * Single equations (assignments): 29 * 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.0001706/0.3247, allocations: 167.9 kB / 0.5181 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.3248, allocations: 32.47 kB / 0.5181 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.3253, allocations: 228.3 kB / 0.5183 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3253, allocations: 6.047 kB / 0.5183 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3253, allocations: 4.609 kB / 0.5183 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3254, allocations: 112.2 kB / 0.5184 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.3255, allocations: 5.656 kB / 0.5184 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3256, allocations: 10.98 kB / 0.5184 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3257, allocations: 14.47 kB / 0.5185 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006262/0.3263, allocations: 378 kB / 0.5188 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006642/0.327, allocations: 0.5549 MB / 0.5194 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001584/0.3272, allocations: 85.52 kB / 0.5194 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.3274, allocations: 207.6 kB / 0.5196 GB, free: 13.83 MB / 398.1 MB Notification: Performance of Backend: time 7.02e-07/0.3274, allocations: 0 / 0.5196 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.3281, allocations: 201.8 kB / 0.5198 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 0.001457/0.3296, allocations: 1.097 MB / 0.5209 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Templates: time 0.007881/0.3375, allocations: 3.165 MB / 0.524 GB, free: 12.62 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.av,meter.i,meter.p,meter.puUnits,meter.tcst,meter.v,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.pol,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0eff,zLoadAC.S_base,zLoadAC.S_nom,zLoadAC.V2_nom,zLoadAC.V_nom,zLoadAC.Z_start[1],zLoadAC.Z_start[2],zLoadAC.dynType,zLoadAC.i_start,zLoadAC.pq0[1],zLoadAC.pq0[2],zLoadAC.psi_start,zLoadAC.puUnits,zLoadAC.use_pq_in,zLoadAC.v_start