Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,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.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,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.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001028, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.307/1.307, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007764/0.0007764, allocations: 96.03 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1636/0.1636, allocations: 38.05 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2737, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4021, allocations: 96.4 MB / 0.5632 GB, free: 6.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.4024, allocations: 99.94 kB / 0.5633 GB, free: 5.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03473/0.4372, allocations: 12.52 MB / 0.5755 GB, free: 9.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4372, allocations: 0 / 0.5755 GB, free: 9.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.4373, allocations: 8 kB / 0.5755 GB, free: 9.238 MB / 410.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.001087/0.4384, allocations: 0.6684 MB / 0.5762 GB, free: 8.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4384, allocations: 12.02 kB / 0.5762 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/0.439, allocations: 87.38 kB / 0.5763 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.4412, allocations: 0.8607 MB / 0.5771 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.4413, allocations: 36.88 kB / 0.5771 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.4413, allocations: 35.84 kB / 0.5772 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.442, allocations: 480.8 kB / 0.5776 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4421, allocations: 352 / 0.5776 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.4421, allocations: 15.95 kB / 0.5776 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.4422, allocations: 28.92 kB / 0.5777 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.4427, allocations: 343.7 kB / 0.578 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.4448, allocations: 1.722 MB / 0.5797 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.4451, allocations: 153.1 kB / 0.5798 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4451, allocations: 4.344 kB / 0.5798 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4452, allocations: 30.56 kB / 0.5799 GB, free: 4.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4452, allocations: 0 / 0.5799 GB, free: 4.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001457/0.4466, allocations: 0.8819 MB / 0.5807 GB, free: 3.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4467, allocations: 81.11 kB / 0.5808 GB, free: 3.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.447, allocations: 283.5 kB / 0.5811 GB, free: 3.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4471, allocations: 29.7 kB / 0.5811 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.4473, allocations: 251.5 kB / 0.5813 GB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.4473, allocations: 62.16 kB / 0.5814 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.4473, allocations: 4 kB / 0.5814 GB, free: 2.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4475, allocations: 350.8 kB / 0.5817 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4477, allocations: 100.2 kB / 0.5818 GB, free: 2.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.4479, allocations: 205.2 kB / 0.582 GB, free: 2.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.4481, allocations: 136.6 kB / 0.5822 GB, free: 2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4481, allocations: 4 kB / 0.5822 GB, free: 1.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008262/0.4489, allocations: 472.2 kB / 0.5826 GB, free: 1.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.449, allocations: 12 kB / 0.5826 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000581/0.4495, allocations: 309 kB / 0.5829 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.4501, allocations: 140.7 kB / 0.5831 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4503, allocations: 51.92 kB / 0.5831 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.4529, allocations: 2.254 MB / 0.5853 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.4531, allocations: 19.98 kB / 0.5853 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4532, allocations: 12 kB / 0.5853 GB, free: 14.61 MB / 426.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 (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 0.0002304/0.4534, allocations: 193.7 kB / 0.5855 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.4535, allocations: 31.62 kB / 0.5856 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.4539, allocations: 257.5 kB / 0.5858 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4539, allocations: 7.953 kB / 0.5858 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4539, allocations: 0 / 0.5858 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4539, allocations: 0 / 0.5858 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.455, allocations: 0.7505 MB / 0.5865 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.455, allocations: 4 kB / 0.5865 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.4553, allocations: 31.98 kB / 0.5866 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.4554, allocations: 36.83 kB / 0.5866 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4554, allocations: 11.98 kB / 0.5866 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4554, allocations: 0 / 0.5866 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4554, allocations: 8 kB / 0.5866 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.456, allocations: 471.7 kB / 0.5871 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.4561, allocations: 108.8 kB / 0.5872 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.4561, allocations: 11.95 kB / 0.5872 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4563, allocations: 11.92 kB / 0.5872 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4563, allocations: 19.92 kB / 0.5872 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.4563, allocations: 4 kB / 0.5872 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.4565, allocations: 219 kB / 0.5874 GB, free: 12.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.463e-06/0.4566, allocations: 0 / 0.5874 GB, free: 12.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000462/0.457, allocations: 95.94 kB / 0.5875 GB, free: 12.21 MB / 426.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 () * Number of clocked 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.4572, allocations: 131.1 kB / 0.5877 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.4579, allocations: 407.1 kB / 0.588 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4579, allocations: 0 / 0.588 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4581, allocations: 177.9 kB / 0.5882 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.4585, allocations: 57.81 kB / 0.5883 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.46, allocations: 1.082 MB / 0.5893 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.4605, allocations: 0.8499 MB / 0.5902 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.4607, allocations: 66.91 kB / 0.5902 GB, free: 9.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.4607, allocations: 23.44 kB / 0.5902 GB, free: 9.336 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4607, allocations: 0 / 0.5902 GB, free: 9.336 MB / 426.7 MB Notification: Performance of Templates: time 0.0079/0.4687, allocations: 3.743 MB / 0.5939 GB, free: 5.602 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches