Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001565, allocations: 174.6 kB / 13.63 MB, free: 1.684 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.534/1.534, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0008499/0.0008498, allocations: 86.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1654/0.1654, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.761e-05, allocations: 8 kB / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09951, allocations: 56.32 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4471, allocations: 96.49 MB / 0.5572 GB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.4473, allocations: 90 kB / 0.5573 GB, free: 6.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03162/0.479, allocations: 12.53 MB / 0.5695 GB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.479, allocations: 0 / 0.5695 GB, free: 11.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.479, allocations: 8 kB / 0.5695 GB, free: 11.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009093/0.48, allocations: 0.6132 MB / 0.5701 GB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.48, allocations: 12.03 kB / 0.5701 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.4806, allocations: 91.33 kB / 0.5702 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.4827, allocations: 0.8543 MB / 0.571 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4827, allocations: 22.66 kB / 0.5711 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.4828, allocations: 42.53 kB / 0.5711 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.4834, allocations: 456.1 kB / 0.5715 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.4835, allocations: 0 / 0.5715 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4835, allocations: 11.44 kB / 0.5715 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.4836, allocations: 27.98 kB / 0.5716 GB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.484, allocations: 323.1 kB / 0.5719 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.486, allocations: 1.701 MB / 0.5735 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4862, allocations: 151 kB / 0.5737 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4864, allocations: 104.9 kB / 0.5738 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.4864, allocations: 7.984 kB / 0.5738 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4865, allocations: 41.88 kB / 0.5738 GB, free: 7.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.4865, allocations: 0 / 0.5738 GB, free: 7.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001131/0.4876, allocations: 0.678 MB / 0.5745 GB, free: 6.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.4877, allocations: 88.95 kB / 0.5746 GB, free: 6.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.488, allocations: 264.5 kB / 0.5748 GB, free: 6.594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.488, allocations: 33.52 kB / 0.5749 GB, free: 6.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4881, allocations: 256.1 kB / 0.5751 GB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.4882, allocations: 62.84 kB / 0.5752 GB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4882, allocations: 3.75 kB / 0.5752 GB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4883, allocations: 346.3 kB / 0.5755 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4885, allocations: 87.25 kB / 0.5756 GB, free: 5.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.4887, allocations: 191.1 kB / 0.5758 GB, free: 5.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4889, allocations: 134.5 kB / 0.5759 GB, free: 5.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4889, allocations: 0 / 0.5759 GB, free: 5.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007975/0.4897, allocations: 450.9 kB / 0.5763 GB, free: 5.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4897, allocations: 8 kB / 0.5763 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005299/0.4902, allocations: 284.6 kB / 0.5766 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.4907, allocations: 128.3 kB / 0.5767 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.4909, allocations: 51.8 kB / 0.5768 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.4932, allocations: 2.153 MB / 0.5789 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4934, allocations: 11.69 kB / 0.5789 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.4935, allocations: 15.94 kB / 0.5789 GB, free: 2.863 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.4936, allocations: 124.7 kB / 0.579 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.4936, allocations: 31.62 kB / 0.579 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.494, allocations: 246.1 kB / 0.5793 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.494, allocations: 4 kB / 0.5793 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.494, allocations: 0 / 0.5793 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4941, allocations: 7.984 kB / 0.5793 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4951, allocations: 0.709 MB / 0.58 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4951, allocations: 0 / 0.58 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.4953, allocations: 43.86 kB / 0.58 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.586e-05/0.4954, allocations: 36.41 kB / 0.5801 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4954, allocations: 4 kB / 0.5801 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.4965, allocations: 1.488 MB / 0.5815 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4965, allocations: 0 / 0.5815 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.497, allocations: 460.2 kB / 0.582 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.4971, allocations: 104.8 kB / 0.5821 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4971, allocations: 11.12 kB / 0.5821 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4973, allocations: 11.73 kB / 0.5821 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4973, allocations: 11.94 kB / 0.5821 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4974, allocations: 8 kB / 0.5821 GB, free: 15.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.4976, allocations: 215 kB / 0.5823 GB, free: 15.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4976, allocations: 0 / 0.5823 GB, free: 15.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.498, allocations: 92.94 kB / 0.5824 GB, free: 15.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002218/0.4982, allocations: 126.4 kB / 0.5825 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.4989, allocations: 379.3 kB / 0.5829 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4989, allocations: 4.188 kB / 0.5829 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4992, allocations: 233.8 kB / 0.5831 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4996, allocations: 64.14 kB / 0.5832 GB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5007, allocations: 0.6529 MB / 0.5838 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.5011, allocations: 0.8513 MB / 0.5846 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.5013, allocations: 66.86 kB / 0.5847 GB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.5014, allocations: 27.42 kB / 0.5847 GB, free: 13.13 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5014, allocations: 0 / 0.5847 GB, free: 13.13 MB / 394.7 MB Notification: Performance of Templates: time 0.008007/0.5094, allocations: 3.94 MB / 0.5886 GB, free: 9.199 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches