Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 175.8 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 95.77 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.666e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3298, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.383, allocations: 173 MB / 1.381 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.383, allocations: 94.12 kB / 1.381 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04018/1.424, allocations: 19.21 MB / 1.4 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.424, allocations: 4 kB / 1.4 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.016e-05/1.424, allocations: 8 kB / 1.4 GB, free: 25.61 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009927/1.425, allocations: 0.6137 MB / 1.401 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.425, allocations: 8.031 kB / 1.401 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007535/1.426, allocations: 103.5 kB / 1.401 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/1.426, allocations: 272.6 kB / 1.401 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.426, allocations: 11.98 kB / 1.401 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/1.426, allocations: 12 kB / 1.401 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004361/1.426, allocations: 249.4 kB / 1.401 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/1.427, allocations: 334.9 kB / 1.402 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.427, allocations: 7.922 kB / 1.402 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/1.427, allocations: 4 kB / 1.402 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/1.427, allocations: 23.61 kB / 1.402 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/1.429, allocations: 1.596 MB / 1.403 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/1.43, allocations: 381.8 kB / 1.404 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/1.43, allocations: 150.1 kB / 1.404 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.43, allocations: 97.44 kB / 1.404 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/1.431, allocations: 215.3 kB / 1.404 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.083e-06/1.431, allocations: 0 / 1.404 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.00101/1.432, allocations: 432 kB / 1.404 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.432, allocations: 85.2 kB / 1.405 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/1.432, allocations: 191.4 kB / 1.405 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/1.432, allocations: 25.7 kB / 1.405 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.432, allocations: 167.6 kB / 1.405 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/1.432, allocations: 90.03 kB / 1.405 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/1.432, allocations: 0 / 1.405 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.432, allocations: 337.3 kB / 1.405 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.432, allocations: 125.3 kB / 1.405 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/1.433, allocations: 199 kB / 1.406 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.433, allocations: 162.8 kB / 1.406 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.433, allocations: 3.953 kB / 1.406 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006755/1.434, allocations: 422.7 kB / 1.406 GB, free: 20.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004544/1.434, allocations: 0.9146 MB / 1.407 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.434, allocations: 4 kB / 1.407 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/1.434, allocations: 40.08 kB / 1.407 GB, free: 19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/1.435, allocations: 87.86 kB / 1.407 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/1.436, allocations: 1.429 MB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/1.436, allocations: 59.83 kB / 1.409 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/1.437, allocations: 19.03 kB / 1.409 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.437, allocations: 4 kB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006135/1.437, allocations: 358.3 kB / 1.409 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/1.437, allocations: 4 kB / 1.409 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/1.437, allocations: 43.84 kB / 1.409 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/1.438, allocations: 87.31 kB / 1.409 GB, free: 17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009598/1.439, allocations: 1.416 MB / 1.411 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/1.439, allocations: 43.8 kB / 1.411 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/1.439, allocations: 15.81 kB / 1.411 GB, free: 15.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.439, allocations: 117 kB / 1.411 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/1.439, allocations: 27.67 kB / 1.411 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/1.44, allocations: 384.9 kB / 1.411 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.44, allocations: 4 kB / 1.411 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.44, allocations: 8 kB / 1.411 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.44, allocations: 3.938 kB / 1.411 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/1.44, allocations: 0.5162 MB / 1.412 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.44, allocations: 0 / 1.412 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/1.441, allocations: 87.2 kB / 1.412 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.502e-05/1.441, allocations: 35.7 kB / 1.412 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.441, allocations: 4.062 kB / 1.412 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/1.442, allocations: 1.354 MB / 1.413 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.442, allocations: 0 / 1.413 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/1.442, allocations: 0.489 MB / 1.414 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.442, allocations: 142 kB / 1.414 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/1.442, allocations: 4 kB / 1.414 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/1.443, allocations: 39.77 kB / 1.414 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/1.443, allocations: 31.02 kB / 1.414 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/1.443, allocations: 11.5 kB / 1.414 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001434/1.443, allocations: 162.6 kB / 1.414 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.443, allocations: 0 / 1.414 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005477/1.444, allocations: 120 kB / 1.414 GB, free: 12.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/1.444, allocations: 123.1 kB / 1.414 GB, free: 12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.445, allocations: 0.8289 MB / 1.415 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.445, allocations: 0 / 1.415 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.445, allocations: 281.5 kB / 1.415 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/1.446, allocations: 44.97 kB / 1.415 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/1.447, allocations: 457 kB / 1.416 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/1.447, allocations: 0.7907 MB / 1.417 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003768/1.448, allocations: 102.1 kB / 1.417 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.448, allocations: 30.73 kB / 1.417 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.448, allocations: 0 / 1.417 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of Templates: time 0.008849/1.457, allocations: 4.122 MB / 1.421 GB, free: 5.605 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches