Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 92.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1825/0.1825, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.552e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 56.33 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5858, allocations: 94.05 MB / 0.5478 GB, free: 0.9062 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5861, allocations: 87.94 kB / 0.5479 GB, free: 0.8203 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03373/0.6199, allocations: 14.04 MB / 0.5616 GB, free: 2.625 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6199, allocations: 0 / 0.5616 GB, free: 2.625 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.62, allocations: 4 kB / 0.5616 GB, free: 2.621 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007165/0.6207, allocations: 494.2 kB / 0.5621 GB, free: 2.094 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6207, allocations: 12.03 kB / 0.5621 GB, free: 2.082 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.6217, allocations: 119.5 kB / 0.5622 GB, free: 1.965 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.6221, allocations: 266.5 kB / 0.5625 GB, free: 1.664 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6221, allocations: 8 kB / 0.5625 GB, free: 1.656 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.6221, allocations: 8 kB / 0.5625 GB, free: 1.648 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003422/0.6225, allocations: 200.3 kB / 0.5627 GB, free: 1.453 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.6229, allocations: 289.7 kB / 0.5629 GB, free: 1.145 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.623, allocations: 3.984 kB / 0.5629 GB, free: 1.141 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.623, allocations: 4 kB / 0.5629 GB, free: 1.137 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-05/0.6231, allocations: 23.98 kB / 0.563 GB, free: 1.113 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.6246, allocations: 1.254 MB / 0.5642 GB, free: 15.79 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.6249, allocations: 169.1 kB / 0.5644 GB, free: 15.6 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.6251, allocations: 113.8 kB / 0.5645 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.6251, allocations: 7.984 kB / 0.5645 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.6252, allocations: 38.55 kB / 0.5645 GB, free: 15.43 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 3.988e-06/0.6252, allocations: 0 / 0.5645 GB, free: 15.43 MB / 411.1 MB Notification: Performance of matching and sorting (n=20): time 0.001016/0.6262, allocations: 454.1 kB / 0.5649 GB, free: 14.98 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.6262, allocations: 85.09 kB / 0.565 GB, free: 14.88 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6264, allocations: 149.5 kB / 0.5652 GB, free: 14.72 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.6264, allocations: 25.7 kB / 0.5652 GB, free: 14.69 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.6265, allocations: 148 kB / 0.5653 GB, free: 14.54 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.6266, allocations: 66.95 kB / 0.5654 GB, free: 14.48 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6266, allocations: 0 / 0.5654 GB, free: 14.48 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6268, allocations: 338.8 kB / 0.5657 GB, free: 14.14 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.6269, allocations: 84.44 kB / 0.5658 GB, free: 14.05 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.6271, allocations: 151.1 kB / 0.5659 GB, free: 13.88 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.6273, allocations: 108.4 kB / 0.566 GB, free: 13.77 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6273, allocations: 7.938 kB / 0.566 GB, free: 13.76 MB / 411.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006411/0.6279, allocations: 345.7 kB / 0.5664 GB, free: 13.41 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.628, allocations: 11.95 kB / 0.5664 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.628, allocations: 4.281 kB / 0.5664 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.6284, allocations: 88.78 kB / 0.5665 GB, free: 13.31 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.6286, allocations: 43.91 kB / 0.5665 GB, free: 13.27 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.6309, allocations: 1.833 MB / 0.5683 GB, free: 11.31 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.631, allocations: 16 kB / 0.5683 GB, free: 11.3 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.631, allocations: 12.06 kB / 0.5683 GB, free: 11.29 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (22): * Single equations (assignments): 21 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.6311, allocations: 120.9 kB / 0.5685 GB, free: 11.16 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.6312, allocations: 15.81 kB / 0.5685 GB, free: 11.14 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.6318, allocations: 327.7 kB / 0.5688 GB, free: 10.82 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6318, allocations: 4 kB / 0.5688 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.6318, allocations: 0 / 0.5688 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6318, allocations: 4 kB / 0.5688 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.633, allocations: 0.7357 MB / 0.5695 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.633, allocations: 4.062 kB / 0.5695 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.6331, allocations: 31.92 kB / 0.5695 GB, free: 9.984 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.6334, allocations: 76.78 kB / 0.5696 GB, free: 9.906 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6334, allocations: 4 kB / 0.5696 GB, free: 9.902 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6351, allocations: 1.744 MB / 0.5713 GB, free: 8.043 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6352, allocations: 4.031 kB / 0.5713 GB, free: 8.039 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.6357, allocations: 455.7 kB / 0.5718 GB, free: 7.547 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.6358, allocations: 96.91 kB / 0.5719 GB, free: 7.434 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.6358, allocations: 7.938 kB / 0.5719 GB, free: 7.426 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.636, allocations: 7.984 kB / 0.5719 GB, free: 7.418 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.636, allocations: 11.98 kB / 0.5719 GB, free: 7.406 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.636, allocations: 8 kB / 0.5719 GB, free: 7.398 MB / 411.1 MB Notification: Performance of sorting global known variables: time 9.63e-05/0.6361, allocations: 124.3 kB / 0.572 GB, free: 7.277 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6362, allocations: 0 / 0.572 GB, free: 7.277 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.6366, allocations: 68 kB / 0.5721 GB, free: 7.211 MB / 411.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.6367, allocations: 103.2 kB / 0.5722 GB, free: 7.102 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.6374, allocations: 379.1 kB / 0.5725 GB, free: 6.723 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6374, allocations: 0.5625 kB / 0.5725 GB, free: 6.723 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.6378, allocations: 265.5 kB / 0.5728 GB, free: 6.453 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.6381, allocations: 19.98 kB / 0.5728 GB, free: 6.434 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.6387, allocations: 353 kB / 0.5731 GB, free: 6.059 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6391, allocations: 0.7791 MB / 0.5739 GB, free: 5.254 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.6392, allocations: 49.75 kB / 0.5739 GB, free: 5.207 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.6393, allocations: 19.42 kB / 0.574 GB, free: 5.191 MB / 411.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6393, allocations: 0 / 0.574 GB, free: 5.191 MB / 411.1 MB Notification: Performance of Templates: time 0.005495/0.6448, allocations: 2.67 MB / 0.5766 GB, free: 2.523 MB / 411.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time