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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 223.5 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 97.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1768/0.1768, allocations: 38.07 MB / 358.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003698, allocations: 8 kB / 425.3 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4016, allocations: 94.49 MB / 0.5626 GB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4019, allocations: 103.8 kB / 0.5627 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01939/0.4213, allocations: 6.644 MB / 0.5691 GB, free: 0.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4214, allocations: 0 / 0.5691 GB, free: 0.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.4214, allocations: 11.94 kB / 0.5692 GB, free: 0.9453 MB / 394.7 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.001203/0.4226, allocations: 0.5862 MB / 0.5697 GB, free: 320 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4227, allocations: 12.03 kB / 0.5697 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4228, allocations: 32.56 kB / 0.5698 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009674/0.4238, allocations: 430.8 kB / 0.5702 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.4239, allocations: 16.94 kB / 0.5702 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.4239, allocations: 24.36 kB / 0.5702 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.4245, allocations: 324.8 kB / 0.5705 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4245, allocations: 0 / 0.5705 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4246, allocations: 8 kB / 0.5705 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4246, allocations: 8 kB / 0.5705 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.425, allocations: 217.5 kB / 0.5708 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.4267, allocations: 1.344 MB / 0.5721 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.427, allocations: 145.6 kB / 0.5722 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4272, allocations: 57.75 kB / 0.5723 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4272, allocations: 7.984 kB / 0.5723 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4272, allocations: 38.72 kB / 0.5723 GB, free: 13.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.4272, allocations: 3.938 kB / 0.5723 GB, free: 13.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008462/0.4281, allocations: 359.6 kB / 0.5727 GB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4282, allocations: 85.05 kB / 0.5727 GB, free: 13.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.4284, allocations: 266.8 kB / 0.573 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.4285, allocations: 33.81 kB / 0.573 GB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4286, allocations: 195.6 kB / 0.5732 GB, free: 12.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.4287, allocations: 43.39 kB / 0.5732 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.4287, allocations: 4 kB / 0.5732 GB, free: 12.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4289, allocations: 346.8 kB / 0.5736 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.429, allocations: 43.97 kB / 0.5736 GB, free: 12.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.4291, allocations: 160.8 kB / 0.5738 GB, free: 11.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4294, allocations: 216.7 kB / 0.574 GB, free: 11.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4295, allocations: 4 kB / 0.574 GB, free: 11.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003909/0.4299, allocations: 250.1 kB / 0.5742 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4299, allocations: 11.94 kB / 0.5742 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4299, allocations: 4 kB / 0.5742 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4299, allocations: 4 kB / 0.5742 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4301, allocations: 47.91 kB / 0.5743 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4301, allocations: 4 kB / 0.5743 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4303, allocations: 12 kB / 0.5743 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.4303, allocations: 19.98 kB / 0.5743 GB, free: 11.25 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.4305, allocations: 161.7 kB / 0.5745 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.4306, allocations: 27.62 kB / 0.5745 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.4309, allocations: 191.3 kB / 0.5747 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4309, allocations: 0 / 0.5747 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4309, allocations: 0 / 0.5747 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4309, allocations: 7.938 kB / 0.5747 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.4317, allocations: 0.5538 MB / 0.5752 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4317, allocations: 0 / 0.5752 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.4319, allocations: 31.95 kB / 0.5753 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4319, allocations: 4 kB / 0.5753 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4319, allocations: 0 / 0.5753 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4319, allocations: 4 kB / 0.5753 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4319, allocations: 0 / 0.5753 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.4323, allocations: 304.2 kB / 0.5756 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.4324, allocations: 104.8 kB / 0.5757 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.4324, allocations: 4 kB / 0.5757 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4326, allocations: 7.984 kB / 0.5757 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4326, allocations: 11.92 kB / 0.5757 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4326, allocations: 8 kB / 0.5757 GB, free: 9.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4328, allocations: 178 kB / 0.5759 GB, free: 9.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4328, allocations: 3.938 kB / 0.5759 GB, free: 9.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.4332, allocations: 56 kB / 0.5759 GB, free: 9.5 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.4334, allocations: 119.2 kB / 0.576 GB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4337, allocations: 155.6 kB / 0.5762 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4337, allocations: 0 / 0.5762 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4339, allocations: 75.83 kB / 0.5763 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.4344, allocations: 58.7 kB / 0.5763 GB, free: 9.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4354, allocations: 0.6416 MB / 0.5769 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4358, allocations: 0.7872 MB / 0.5777 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.436, allocations: 38.28 kB / 0.5777 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.4361, allocations: 27.42 kB / 0.5778 GB, free: 7.539 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4361, allocations: 0 / 0.5778 GB, free: 7.539 MB / 410.7 MB Notification: Performance of Templates: time 0.00601/0.4421, allocations: 2.165 MB / 0.5799 GB, free: 5.383 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins1/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