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.001377/0.001377, allocations: 186.5 kB / 17.27 MB, free: 4.5 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.435/1.435, allocations: 205.1 MB / 223.1 MB, free: 8.477 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.0009964/0.0009965, allocations: 102.5 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1662/0.1662, allocations: 38.01 MB / 355.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.91 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2976, allocations: 55.23 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006054/0.3037, allocations: 5.246 MB / 482.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3063, allocations: 1.54 MB / 483.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.3068, allocations: 24.41 kB / 483.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.308, allocations: 394 kB / 484.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.3086, allocations: 230.6 kB / 484.5 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.309, allocations: 149.4 kB / 484.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008488/0.3099, allocations: 0.8378 MB / 485.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.3104, allocations: 277.4 kB / 485.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.3108, allocations: 226.2 kB / 486 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.3114, allocations: 296.6 kB / 486.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.3115, allocations: 22.97 kB / 486.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.3118, allocations: 129.3 kB / 486.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.312, allocations: 175.6 kB / 486.6 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.3122, allocations: 212.3 kB / 486.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.3128, allocations: 0.5046 MB / 487.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3128, allocations: 0 / 487.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3128, allocations: 1.375 kB / 487.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3128, allocations: 3.938 kB / 487.3 MB, free: 3.691 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.00103/0.3139, allocations: 0.6959 MB / 488 MB, free: 3.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3139, allocations: 9.906 kB / 488 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.3145, allocations: 87.62 kB / 488.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.3151, allocations: 391.7 kB / 488.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3151, allocations: 27.8 kB / 488.5 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3153, allocations: 45.75 kB / 488.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.316, allocations: 470 kB / 489 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.316, allocations: 5.219 kB / 489 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.316, allocations: 19.7 kB / 489 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.3162, allocations: 24.95 kB / 489.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.3167, allocations: 338.4 kB / 489.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.319, allocations: 1.712 MB / 491.1 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3194, allocations: 146.4 kB / 491.3 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3196, allocations: 103.3 kB / 491.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3196, allocations: 11.69 kB / 491.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3197, allocations: 39.3 kB / 491.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3197, allocations: 0 / 491.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001574/0.3212, allocations: 0.8535 MB / 492.3 MB, free: 408 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3213, allocations: 83.48 kB / 492.3 MB, free: 308 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3216, allocations: 305 kB / 492.6 MB, free: 144 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3217, allocations: 30.83 kB / 492.7 MB, free: 108 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.3219, allocations: 248.8 kB / 492.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.322, allocations: 65.91 kB / 493 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3221, allocations: 58.23 kB / 493 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3222, allocations: 347.8 kB / 493.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3224, allocations: 94 kB / 493.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.3227, allocations: 189.5 kB / 493.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.3232, allocations: 319.9 kB / 494 MB, free: 15.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3232, allocations: 1.344 kB / 494 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001004/0.3242, allocations: 457 kB / 494.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3242, allocations: 7 kB / 494.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006263/0.3249, allocations: 293.1 kB / 494.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005025/0.3254, allocations: 125.4 kB / 494.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3256, allocations: 56.36 kB / 494.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.3285, allocations: 2.15 MB / 497 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3287, allocations: 12 kB / 497 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.3288, allocations: 15.22 kB / 497.1 MB, free: 13.05 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.0002407/0.329, allocations: 198.6 kB / 497.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.3291, allocations: 33.77 kB / 497.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.3295, allocations: 254.1 kB / 497.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3296, allocations: 1.25 kB / 497.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3296, allocations: 1.25 kB / 497.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3296, allocations: 6.344 kB / 497.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3308, allocations: 0.7206 MB / 498.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3308, allocations: 6.641 kB / 498.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.331, allocations: 38.39 kB / 498.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.3311, allocations: 29.2 kB / 498.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3311, allocations: 8 kB / 498.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3324, allocations: 1.478 MB / 499.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3324, allocations: 5.25 kB / 499.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.3356, allocations: 2.15 MB / 0.4902 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.3357, allocations: 97.39 kB / 0.4903 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3357, allocations: 7.344 kB / 0.4903 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3359, allocations: 7.688 kB / 0.4903 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.336, allocations: 22.16 kB / 0.4903 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.336, allocations: 4.562 kB / 0.4903 GB, free: 9.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.3362, allocations: 217.1 kB / 0.4905 GB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3362, allocations: 1.188 kB / 0.4906 GB, free: 8.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006803/0.3369, allocations: 119.3 kB / 0.4907 GB, free: 8.906 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.3371, allocations: 103.1 kB / 0.4908 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.3379, allocations: 395.9 kB / 0.4911 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3379, allocations: 0 / 0.4911 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3382, allocations: 225.1 kB / 0.4914 GB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3388, allocations: 65.73 kB / 0.4914 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3407, allocations: 1.292 MB / 0.4927 GB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3412, allocations: 0.8409 MB / 0.4935 GB, free: 6.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.3414, allocations: 67.72 kB / 0.4936 GB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.3415, allocations: 27.72 kB / 0.4936 GB, free: 6.496 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3415, allocations: 0 / 0.4936 GB, free: 6.496 MB / 330.7 MB Notification: Performance of Templates: time 0.008813/0.3503, allocations: 4.223 MB / 0.4977 GB, free: 4.418 MB / 330.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@2/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