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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001774/0.001774, allocations: 189.4 kB / 18 MB, free: 5.098 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.88 kB / 457.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 58.06 MB / 0.5036 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004707/0.3179, allocations: 4.51 MB / 0.508 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3199, allocations: 1.406 MB / 0.5094 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.32, allocations: 17.06 kB / 0.5094 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.3208, allocations: 290.5 kB / 0.5097 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.3213, allocations: 287.8 kB / 0.51 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.3219, allocations: 248.3 kB / 0.5102 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.3225, allocations: 0.6647 MB / 0.5109 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.3229, allocations: 246.6 kB / 0.5111 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.3232, allocations: 299.3 kB / 0.5114 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.3238, allocations: 412.8 kB / 0.5118 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.3239, allocations: 44.84 kB / 0.5118 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.3243, allocations: 217.6 kB / 0.512 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.3245, allocations: 252.5 kB / 0.5123 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.3248, allocations: 286.3 kB / 0.5125 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008037/0.3256, allocations: 0.7588 MB / 0.5133 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3256, allocations: 3.938 kB / 0.5133 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3257, allocations: 4 kB / 0.5133 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3257, allocations: 1.594 kB / 0.5133 GB, free: 1.625 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.001347/0.327, allocations: 0.8896 MB / 0.5142 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3271, allocations: 13.61 kB / 0.5142 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3272, allocations: 89.34 kB / 0.5142 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.3277, allocations: 109 kB / 0.5144 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.3283, allocations: 446.3 kB / 0.5148 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3283, allocations: 25.67 kB / 0.5148 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.3284, allocations: 46.58 kB / 0.5148 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3296, allocations: 0.8583 MB / 0.5157 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3296, allocations: 1.688 kB / 0.5157 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.3297, allocations: 17.77 kB / 0.5157 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.3299, allocations: 62.38 kB / 0.5158 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3312, allocations: 0.7997 MB / 0.5165 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.335, allocations: 2.721 MB / 0.5192 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.3359, allocations: 0.5763 MB / 0.5198 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.3365, allocations: 456.4 kB / 0.5202 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.3365, allocations: 6.328 kB / 0.5202 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3365, allocations: 36.88 kB / 0.5202 GB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.404e-06/0.3366, allocations: 0 / 0.5202 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.002977/0.3395, allocations: 1.901 MB / 0.5221 GB, free: 12.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.3397, allocations: 139.4 kB / 0.5222 GB, free: 12.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.34, allocations: 299.4 kB / 0.5225 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.34, allocations: 32.42 kB / 0.5225 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3402, allocations: 263.8 kB / 0.5228 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.3404, allocations: 200.4 kB / 0.523 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.3406, allocations: 97.61 kB / 0.5231 GB, free: 11.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3408, allocations: 354.9 kB / 0.5234 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.3413, allocations: 340.3 kB / 0.5237 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.3419, allocations: 486.8 kB / 0.5242 GB, free: 11.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3432, allocations: 0.9894 MB / 0.5252 GB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3432, allocations: 1.562 kB / 0.5252 GB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001561/0.3447, allocations: 0.9788 MB / 0.5261 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.3448, allocations: 80.83 kB / 0.5262 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3449, allocations: 4.906 kB / 0.5262 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.3451, allocations: 42.8 kB / 0.5263 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3454, allocations: 85.06 kB / 0.5263 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3468, allocations: 1.546 MB / 0.5278 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.3472, allocations: 33.77 kB / 0.5279 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.3473, allocations: 34.8 kB / 0.5279 GB, free: 8.859 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.0005286/0.3478, allocations: 306.4 kB / 0.5282 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3479, allocations: 46.73 kB / 0.5283 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3497, allocations: 1.081 MB / 0.5293 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.3497, allocations: 10.67 kB / 0.5293 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3497, allocations: 0.6562 kB / 0.5293 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3498, allocations: 7.438 kB / 0.5293 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.3524, allocations: 1.789 MB / 0.5311 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3524, allocations: 9.094 kB / 0.5311 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.3527, allocations: 50.69 kB / 0.5311 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.3528, allocations: 38.23 kB / 0.5312 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.3529, allocations: 17.06 kB / 0.5312 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.3542, allocations: 1.557 MB / 0.5327 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3542, allocations: 0.9062 kB / 0.5327 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3559, allocations: 1.171 MB / 0.5338 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.3561, allocations: 175 kB / 0.534 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.3562, allocations: 16.86 kB / 0.534 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3565, allocations: 30.73 kB / 0.5341 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3566, allocations: 45.28 kB / 0.5341 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.3567, allocations: 20.3 kB / 0.5341 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3569, allocations: 202.6 kB / 0.5343 GB, free: 5.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.386e-06/0.3569, allocations: 0 / 0.5343 GB, free: 5.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006076/0.3575, allocations: 145.2 kB / 0.5345 GB, free: 5.094 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002196/0.3598, allocations: 1.776 MB / 0.5362 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3616, allocations: 1.363 MB / 0.5375 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3617, allocations: 6.188 kB / 0.5375 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3628, allocations: 0.9337 MB / 0.5384 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.3634, allocations: 67.94 kB / 0.5385 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.371, allocations: 5.887 MB / 0.5443 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.3717, allocations: 0.9054 MB / 0.5451 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.372, allocations: 99.19 kB / 0.5452 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.3722, allocations: 155.4 kB / 0.5454 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3722, allocations: 0 / 0.5454 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4106, allocations: 10.29 MB / 0.5554 GB, free: 2.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.86, allocations: 0 / 0.5554 GB, free: 2.477 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > 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