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.00151/0.00151, allocations: 113.8 kB / 17.74 MB, free: 5.336 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.001434/0.001434, allocations: 185.5 kB / 18.66 MB, free: 4.422 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1806/0.1806, allocations: 38.03 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3178, allocations: 58.05 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005244/0.3231, allocations: 4.591 MB / 0.5092 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.325, allocations: 1.317 MB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3252, allocations: 12.62 kB / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.3263, allocations: 400.4 kB / 0.5109 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.3268, allocations: 246.3 kB / 0.5112 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3273, allocations: 173 kB / 0.5113 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.3279, allocations: 0.5582 MB / 0.5119 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.3283, allocations: 289.5 kB / 0.5121 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.3287, allocations: 261.6 kB / 0.5124 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.3292, allocations: 278.5 kB / 0.5127 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.3292, allocations: 34.5 kB / 0.5127 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.3295, allocations: 127.6 kB / 0.5128 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.3297, allocations: 189.3 kB / 0.513 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.3299, allocations: 222.2 kB / 0.5132 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.3306, allocations: 0.5021 MB / 0.5137 GB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3306, allocations: 1.062 kB / 0.5137 GB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3306, allocations: 0.6562 kB / 0.5137 GB, free: 2.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3306, allocations: 0 / 0.5137 GB, free: 2.195 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.001068/0.3317, allocations: 0.708 MB / 0.5144 GB, free: 1.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3317, allocations: 13.86 kB / 0.5144 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.3323, allocations: 83.69 kB / 0.5145 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.3329, allocations: 409.8 kB / 0.5149 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.333, allocations: 26.52 kB / 0.5149 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3331, allocations: 50.05 kB / 0.515 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.3338, allocations: 470.4 kB / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3339, allocations: 1.031 kB / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.3339, allocations: 23.8 kB / 0.5154 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.334, allocations: 24.66 kB / 0.5154 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.3346, allocations: 338.5 kB / 0.5158 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.3368, allocations: 1.707 MB / 0.5174 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3371, allocations: 147.5 kB / 0.5176 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3373, allocations: 107.2 kB / 0.5177 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3373, allocations: 5.594 kB / 0.5177 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.3373, allocations: 40.44 kB / 0.5177 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3374, allocations: 0 / 0.5177 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001682/0.339, allocations: 0.8534 MB / 0.5186 GB, free: 14.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3391, allocations: 84.36 kB / 0.5186 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.3394, allocations: 302.2 kB / 0.5189 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3395, allocations: 30.73 kB / 0.519 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3397, allocations: 252.3 kB / 0.5192 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.3397, allocations: 66.83 kB / 0.5193 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.3398, allocations: 57.88 kB / 0.5193 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.34, allocations: 344.1 kB / 0.5196 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3402, allocations: 98.58 kB / 0.5197 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3404, allocations: 192.6 kB / 0.5199 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.3408, allocations: 312.8 kB / 0.5202 GB, free: 13.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3408, allocations: 0 / 0.5202 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008868/0.3417, allocations: 460 kB / 0.5207 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3418, allocations: 6.594 kB / 0.5207 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005991/0.3424, allocations: 297.6 kB / 0.5209 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.3428, allocations: 122.6 kB / 0.5211 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.3431, allocations: 55.67 kB / 0.5211 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3458, allocations: 2.376 MB / 0.5234 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.346, allocations: 17.12 kB / 0.5235 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3461, allocations: 19.69 kB / 0.5235 GB, free: 11.34 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.0002448/0.3463, allocations: 190.4 kB / 0.5237 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.3464, allocations: 29.38 kB / 0.5237 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.3468, allocations: 248.5 kB / 0.5239 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3468, allocations: 2.688 kB / 0.5239 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3469, allocations: 9.219 kB / 0.5239 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3469, allocations: 0.7969 kB / 0.5239 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.348, allocations: 0.717 MB / 0.5246 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3481, allocations: 1.344 kB / 0.5246 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3483, allocations: 39.25 kB / 0.5247 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-05/0.3484, allocations: 29.41 kB / 0.5247 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3484, allocations: 11.64 kB / 0.5247 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.3497, allocations: 1.587 MB / 0.5263 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3497, allocations: 1.984 kB / 0.5263 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.3502, allocations: 422.3 kB / 0.5267 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.3503, allocations: 102.8 kB / 0.5268 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3504, allocations: 11.34 kB / 0.5268 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3505, allocations: 6.75 kB / 0.5268 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3506, allocations: 13.86 kB / 0.5268 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3506, allocations: 8.766 kB / 0.5268 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.3508, allocations: 215.2 kB / 0.527 GB, free: 8.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3509, allocations: 4 kB / 0.527 GB, free: 8.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.3514, allocations: 88 kB / 0.5271 GB, free: 8.516 MB / 398.1 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.0001226/0.3515, allocations: 101.3 kB / 0.5272 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.3522, allocations: 399.1 kB / 0.5276 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3522, allocations: 0 / 0.5276 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.3525, allocations: 230.5 kB / 0.5278 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.353, allocations: 77.61 kB / 0.5279 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3545, allocations: 0.9022 MB / 0.5287 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.355, allocations: 0.8406 MB / 0.5296 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.3551, allocations: 25.34 kB / 0.5296 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3551, allocations: 0 / 0.5296 GB, free: 6.723 MB / 398.1 MB Notification: Performance of Templates: time 0.008588/0.3637, allocations: 5.738 MB / 0.5352 GB, free: 4.527 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) "" Variables in the reference:Time,sensor.p[1],sensor.p[2],sensor.p[3] Variables in the result:sensor.p[1],sensor.p[2],sensor.p[3],time