Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008595, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.0009686/0.0009687, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.173/1.173, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1554/0.1554, allocations: 38.09 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002845, allocations: 8 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09314, allocations: 59.16 MB / 459.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004829/0.09801, allocations: 4.319 MB / 464.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.0999, allocations: 1.064 MB / 465.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00054/0.1005, allocations: 23.81 kB / 465.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1008, allocations: 39.69 kB / 465.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000647/0.1014, allocations: 163.3 kB / 465.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1017, allocations: 79.84 kB / 465.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.1023, allocations: 0.5608 MB / 466.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1026, allocations: 101.7 kB / 466.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1029, allocations: 151.2 kB / 466.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.1033, allocations: 199.3 kB / 466.6 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1034, allocations: 12 kB / 466.6 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.1035, allocations: 12 kB / 466.6 MB, free: 336 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1036, allocations: 107.6 kB / 466.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1038, allocations: 156.9 kB / 466.9 MB, free: 64 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.1041, allocations: 298.8 kB / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1041, allocations: 0 / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1041, allocations: 0 / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1041, allocations: 4 kB / 467.1 MB, free: 15.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009997/0.1051, allocations: 0.57 MB / 467.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1052, allocations: 8.031 kB / 467.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.1053, allocations: 36.47 kB / 467.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1057, allocations: 323 kB / 468.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1057, allocations: 20.94 kB / 468.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1058, allocations: 28.11 kB / 468.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.1062, allocations: 320.5 kB / 468.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1062, allocations: 7.938 kB / 468.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1063, allocations: 4 kB / 468.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1063, allocations: 8 kB / 468.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.1066, allocations: 217.5 kB / 468.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1081, allocations: 1.352 MB / 470 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1084, allocations: 145.2 kB / 470.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.1085, allocations: 61.69 kB / 470.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1085, allocations: 4 kB / 470.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1085, allocations: 34.56 kB / 470.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1085, allocations: 0 / 470.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000738/0.1093, allocations: 363.8 kB / 470.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1093, allocations: 93.03 kB / 470.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1096, allocations: 251 kB / 471 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1096, allocations: 25.7 kB / 471 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1097, allocations: 207.5 kB / 471.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.1098, allocations: 47.36 kB / 471.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1098, allocations: 29.64 kB / 471.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1099, allocations: 338.8 kB / 471.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.11, allocations: 56.09 kB / 471.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1102, allocations: 141.7 kB / 471.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1104, allocations: 236.6 kB / 472 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1104, allocations: 4 kB / 472 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003585/0.1108, allocations: 245 kB / 472.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1108, allocations: 4 kB / 472.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1108, allocations: 7.938 kB / 472.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1109, allocations: 11.98 kB / 472.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.111, allocations: 43.92 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1111, allocations: 8.422 kB / 472.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1112, allocations: 12 kB / 472.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1112, allocations: 8 kB / 472.3 MB, free: 10.15 MB / 350.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 (25): * Single equations (assignments): 25 * 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.0001451/0.1114, allocations: 166.1 kB / 472.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1114, allocations: 23.72 kB / 472.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.1117, allocations: 199.1 kB / 472.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1118, allocations: 4 kB / 472.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1118, allocations: 0 / 472.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1118, allocations: 7.984 kB / 472.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.1124, allocations: 0.5531 MB / 473.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1124, allocations: 4 kB / 473.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1125, allocations: 27.92 kB / 473.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1125, allocations: 4 kB / 473.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1126, allocations: 4 kB / 473.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.1126, allocations: 7.922 kB / 473.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1126, allocations: 7.938 kB / 473.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1129, allocations: 291 kB / 473.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.113, allocations: 108.8 kB / 473.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.113, allocations: 0 / 473.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1131, allocations: 11.94 kB / 473.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1131, allocations: 7.984 kB / 473.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1132, allocations: 4 kB / 473.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1133, allocations: 186 kB / 473.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1133, allocations: 0 / 473.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1136, allocations: 52 kB / 474 MB, free: 8.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.69e-05/0.1137, allocations: 102.4 kB / 474.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.114, allocations: 152.4 kB / 474.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.114, allocations: 4.25 kB / 474.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1141, allocations: 75.91 kB / 474.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.1146, allocations: 57.88 kB / 474.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.1154, allocations: 0.6609 MB / 475 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1157, allocations: 0.7833 MB / 475.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1159, allocations: 42.27 kB / 475.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.116, allocations: 23.42 kB / 475.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.116, allocations: 0 / 475.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004739/0.1207, allocations: 2.107 MB / 478 MB, free: 4.34 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches