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.001248/0.001248, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.395/1.395, allocations: 205.1 MB / 223.1 MB, free: 8.461 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.001032/0.001032, allocations: 99.45 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1803/0.1803, allocations: 38 MB / 355.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 51.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2971, allocations: 55.23 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006456/0.3036, allocations: 5.224 MB / 482.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3062, allocations: 1.536 MB / 483.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.3065, allocations: 28.28 kB / 483.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3076, allocations: 384.8 kB / 484.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.3083, allocations: 236.9 kB / 484.5 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.3088, allocations: 153.5 kB / 484.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3099, allocations: 0.8543 MB / 485.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.3104, allocations: 276.7 kB / 485.8 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.3107, allocations: 222.4 kB / 486 MB, free: 4.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.3112, allocations: 300.5 kB / 486.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.3113, allocations: 22 kB / 486.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.3116, allocations: 132.9 kB / 486.4 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.3119, allocations: 194.2 kB / 486.6 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.3122, allocations: 205.8 kB / 486.8 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.3128, allocations: 0.5062 MB / 487.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3128, allocations: 0 / 487.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3128, allocations: 0 / 487.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3129, allocations: 0 / 487.3 MB, free: 3.707 MB / 314.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.001144/0.314, allocations: 0.6983 MB / 488 MB, free: 3.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3141, allocations: 8.25 kB / 488 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.3146, allocations: 88.27 kB / 488.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3152, allocations: 392.9 kB / 488.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3152, allocations: 27.69 kB / 488.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.3154, allocations: 46.48 kB / 488.6 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.3161, allocations: 482.2 kB / 489 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3161, allocations: 4.969 kB / 489 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3161, allocations: 15.19 kB / 489.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.3163, allocations: 25.02 kB / 489.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.3169, allocations: 358.1 kB / 489.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.3191, allocations: 1.725 MB / 491.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3194, allocations: 151.3 kB / 491.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3195, allocations: 109.3 kB / 491.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3196, allocations: 6.25 kB / 491.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3196, allocations: 40.23 kB / 491.5 MB, free: 1.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.3196, allocations: 1.375 kB / 491.5 MB, free: 1.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00137/0.321, allocations: 0.8864 MB / 492.3 MB, free: 400 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.321, allocations: 87.95 kB / 492.4 MB, free: 296 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.3214, allocations: 306.7 kB / 492.7 MB, free: 136 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3214, allocations: 30.77 kB / 492.8 MB, free: 100 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.3216, allocations: 257.1 kB / 493 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.3216, allocations: 61.42 kB / 493.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.3218, allocations: 66.09 kB / 493.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3219, allocations: 344.5 kB / 493.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3221, allocations: 102.1 kB / 493.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3223, allocations: 206.5 kB / 493.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.3228, allocations: 337 kB / 494.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3228, allocations: 0 / 494.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009014/0.3237, allocations: 472.5 kB / 494.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3237, allocations: 7.078 kB / 494.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006053/0.3243, allocations: 314.8 kB / 494.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.3248, allocations: 136 kB / 495 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.325, allocations: 52.89 kB / 495.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.3277, allocations: 2.2 MB / 497.3 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3279, allocations: 21.03 kB / 497.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.328, allocations: 15.38 kB / 497.3 MB, free: 12.98 MB / 330.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.3282, allocations: 200.1 kB / 497.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3283, allocations: 29.75 kB / 497.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.3287, allocations: 262.5 kB / 497.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3287, allocations: 7.812 kB / 497.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3288, allocations: 0 / 497.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3288, allocations: 1.344 kB / 497.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3299, allocations: 0.7392 MB / 498.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3299, allocations: 0.5625 kB / 498.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3301, allocations: 40.52 kB / 498.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.3303, allocations: 33.12 kB / 498.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3303, allocations: 12.28 kB / 498.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3303, allocations: 6.906 kB / 498.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3303, allocations: 0 / 498.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.3333, allocations: 2.198 MB / 0.4891 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3334, allocations: 105.9 kB / 0.4892 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3335, allocations: 11.59 kB / 0.4892 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3336, allocations: 10.88 kB / 0.4892 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3337, allocations: 22.59 kB / 0.4892 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3337, allocations: 4.562 kB / 0.4892 GB, free: 10.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3339, allocations: 220.1 kB / 0.4894 GB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3339, allocations: 0 / 0.4894 GB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.3346, allocations: 115.7 kB / 0.4895 GB, free: 10.2 MB / 330.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.3347, allocations: 102.5 kB / 0.4896 GB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.3355, allocations: 411.9 kB / 0.49 GB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3355, allocations: 0 / 0.49 GB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.3358, allocations: 182.2 kB / 0.4902 GB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.3362, allocations: 61.38 kB / 0.4903 GB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.338, allocations: 1.312 MB / 0.4916 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3384, allocations: 0.8449 MB / 0.4924 GB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3386, allocations: 69.94 kB / 0.4924 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.3387, allocations: 23.41 kB / 0.4925 GB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.3387, allocations: 1.312 kB / 0.4925 GB, free: 7.797 MB / 330.7 MB Notification: Performance of Templates: time 0.00813/0.3468, allocations: 4.123 MB / 0.4965 GB, free: 5.773 MB / 330.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@2/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