Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001337/0.001338, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.84 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2834, allocations: 58.06 MB / 0.5048 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005126/0.2886, allocations: 4.507 MB / 0.5092 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.2906, allocations: 1.405 MB / 0.5105 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.2908, allocations: 16.06 kB / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.2917, allocations: 291.3 kB / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2923, allocations: 284.3 kB / 0.5111 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.293, allocations: 252 kB / 0.5114 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.2937, allocations: 0.6682 MB / 0.512 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.294, allocations: 238.3 kB / 0.5122 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.2944, allocations: 305.8 kB / 0.5125 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.295, allocations: 413.7 kB / 0.5129 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/0.2951, allocations: 45.31 kB / 0.513 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.2955, allocations: 216.7 kB / 0.5132 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.2957, allocations: 252.9 kB / 0.5134 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.296, allocations: 285.4 kB / 0.5137 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.2969, allocations: 0.7564 MB / 0.5144 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2969, allocations: 1.219 kB / 0.5144 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2969, allocations: 4 kB / 0.5144 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2969, allocations: 0 / 0.5144 GB, free: 1.934 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.0014/0.2983, allocations: 0.8796 MB / 0.5153 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2984, allocations: 14.14 kB / 0.5153 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005532/0.299, allocations: 92.47 kB / 0.5154 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.2996, allocations: 441.5 kB / 0.5158 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.2997, allocations: 33.95 kB / 0.5158 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.2998, allocations: 47.59 kB / 0.5159 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.301, allocations: 0.8537 MB / 0.5167 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.301, allocations: 9.344 kB / 0.5167 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.3011, allocations: 22.39 kB / 0.5168 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.3012, allocations: 58.33 kB / 0.5168 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.3024, allocations: 0.7983 MB / 0.5176 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.306, allocations: 2.716 MB / 0.5202 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.3068, allocations: 0.5821 MB / 0.5208 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.3074, allocations: 455.5 kB / 0.5212 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3074, allocations: 6.328 kB / 0.5212 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3075, allocations: 40.78 kB / 0.5213 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.544e-06/0.3075, allocations: 0 / 0.5213 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.002828/0.3103, allocations: 1.877 MB / 0.5231 GB, free: 13.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.3104, allocations: 139.7 kB / 0.5233 GB, free: 13.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3107, allocations: 293.8 kB / 0.5235 GB, free: 12.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.3108, allocations: 40.38 kB / 0.5236 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.3109, allocations: 260.7 kB / 0.5238 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.3111, allocations: 182.6 kB / 0.524 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.3113, allocations: 101.3 kB / 0.5241 GB, free: 12.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3114, allocations: 355.2 kB / 0.5244 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.3119, allocations: 344.9 kB / 0.5248 GB, free: 11.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.3124, allocations: 488.1 kB / 0.5252 GB, free: 11.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3135, allocations: 0.9851 MB / 0.5262 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3136, allocations: 2.141 kB / 0.5262 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001449/0.315, allocations: 0.9828 MB / 0.5271 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.3151, allocations: 73.97 kB / 0.5272 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.3151, allocations: 7.375 kB / 0.5272 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3153, allocations: 43.08 kB / 0.5273 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.3157, allocations: 85.27 kB / 0.5273 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.3169, allocations: 1.553 MB / 0.5289 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.3173, allocations: 29.62 kB / 0.5289 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.3174, allocations: 27.12 kB / 0.5289 GB, free: 9.281 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: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003854/0.3177, allocations: 310.8 kB / 0.5292 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3179, allocations: 46.28 kB / 0.5293 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.3194, allocations: 1.072 MB / 0.5303 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.3194, allocations: 5.391 kB / 0.5303 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3195, allocations: 1 kB / 0.5303 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.3198, allocations: 174.2 kB / 0.5305 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.3198, allocations: 16.22 kB / 0.5305 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3201, allocations: 33.98 kB / 0.5305 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3202, allocations: 38.8 kB / 0.5306 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001807/0.3221, allocations: 1.381 MB / 0.5319 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002278/0.3244, allocations: 1.837 MB / 0.5337 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006407/0.325, allocations: 0.6267 MB / 0.5343 GB, free: 6.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3252, allocations: 203.6 kB / 0.5345 GB, free: 6.59 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3252, allocations: 3.938 kB / 0.5345 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.3272, allocations: 1.151 MB / 0.5356 GB, free: 5.867 MB / 398.1 MB Notification: Performance of SimCode: time 0.001896/0.3291, allocations: 1.493 MB / 0.5371 GB, free: 4.746 MB / 398.1 MB Notification: Performance of Templates: time 0.01389/0.343, allocations: 7.459 MB / 0.5444 GB, free: 15.2 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches