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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 183 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1777/0.1777, allocations: 38.03 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 58.06 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005324/0.313, allocations: 4.6 MB / 0.5093 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3148, allocations: 1.309 MB / 0.5105 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3149, allocations: 24.03 kB / 0.5106 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.316, allocations: 395.3 kB / 0.5109 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.3164, allocations: 254.5 kB / 0.5112 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.3168, allocations: 176.5 kB / 0.5113 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3174, allocations: 0.5598 MB / 0.5119 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.3178, allocations: 290.6 kB / 0.5122 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.3181, allocations: 253.5 kB / 0.5124 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.3186, allocations: 282.7 kB / 0.5127 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.3186, allocations: 30.16 kB / 0.5127 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.3189, allocations: 127.2 kB / 0.5128 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3191, allocations: 190 kB / 0.513 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3193, allocations: 213.9 kB / 0.5132 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.3199, allocations: 0.5147 MB / 0.5137 GB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3199, allocations: 0 / 0.5137 GB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3199, allocations: 0 / 0.5137 GB, free: 2.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3199, allocations: 1.344 kB / 0.5137 GB, free: 2.172 MB / 382.1 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.001004/0.3209, allocations: 0.7006 MB / 0.5144 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3209, allocations: 12.08 kB / 0.5144 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.3216, allocations: 79.45 kB / 0.5145 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.3222, allocations: 426.1 kB / 0.5149 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3222, allocations: 23.84 kB / 0.5149 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.3223, allocations: 45.84 kB / 0.515 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.323, allocations: 477.8 kB / 0.5154 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3231, allocations: 1.312 kB / 0.5154 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3231, allocations: 15.16 kB / 0.5154 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3232, allocations: 24.91 kB / 0.5155 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.3238, allocations: 339.1 kB / 0.5158 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3259, allocations: 1.703 MB / 0.5174 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3262, allocations: 147.4 kB / 0.5176 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3264, allocations: 102.4 kB / 0.5177 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3264, allocations: 9.719 kB / 0.5177 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3265, allocations: 37.41 kB / 0.5177 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.3265, allocations: 0 / 0.5177 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001626/0.3281, allocations: 0.8496 MB / 0.5186 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3282, allocations: 78.3 kB / 0.5186 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.3285, allocations: 306.1 kB / 0.5189 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3286, allocations: 30.7 kB / 0.519 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3288, allocations: 249 kB / 0.5192 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.3288, allocations: 66.69 kB / 0.5193 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.329, allocations: 58.02 kB / 0.5193 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3291, allocations: 347.6 kB / 0.5196 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3293, allocations: 93.47 kB / 0.5197 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3295, allocations: 194 kB / 0.5199 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.33, allocations: 315.9 kB / 0.5202 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.33, allocations: 1.031 kB / 0.5202 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008988/0.3309, allocations: 464.7 kB / 0.5207 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3309, allocations: 6.906 kB / 0.5207 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006546/0.3316, allocations: 287.6 kB / 0.5209 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.3321, allocations: 129.8 kB / 0.5211 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3323, allocations: 54.52 kB / 0.5211 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.3351, allocations: 2.382 MB / 0.5234 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3353, allocations: 21.09 kB / 0.5235 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3354, allocations: 13.91 kB / 0.5235 GB, free: 11.32 MB / 398.1 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.0002374/0.3356, allocations: 195 kB / 0.5237 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.3357, allocations: 31 kB / 0.5237 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.3362, allocations: 248.9 kB / 0.5239 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3362, allocations: 0.7031 kB / 0.5239 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3362, allocations: 1.25 kB / 0.5239 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.3363, allocations: 105.5 kB / 0.524 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3363, allocations: 7.609 kB / 0.524 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3365, allocations: 9.797 kB / 0.5241 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3365, allocations: 10.12 kB / 0.5241 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007728/0.3373, allocations: 444.7 kB / 0.5245 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005761/0.3379, allocations: 0.5396 MB / 0.525 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001532/0.3381, allocations: 89.22 kB / 0.5251 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.3383, allocations: 218.5 kB / 0.5253 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3383, allocations: 0 / 0.5253 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3395, allocations: 469.8 kB / 0.5258 GB, free: 9.852 MB / 398.1 MB Notification: Performance of SimCode: time 0.001831/0.3413, allocations: 1.307 MB / 0.527 GB, free: 8.871 MB / 398.1 MB Notification: Performance of Templates: time 0.01002/0.3514, allocations: 4.698 MB / 0.5316 GB, free: 7.516 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches