Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001093/0.001093, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.514/1.514, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008705, allocations: 95.91 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.567e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3039, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.404, allocations: 181.7 MB / 1.383 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.404, allocations: 93.81 kB / 1.384 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4774/1.882, allocations: 192.6 MB / 1.572 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.208e-06/1.882, allocations: 7.938 kB / 1.572 GB, free: 7.129 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008099/1.883, allocations: 128 kB / 1.572 GB, free: 7.004 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01761/1.9, allocations: 4.152 MB / 1.576 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.9, allocations: 12.03 kB / 1.576 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008016/1.908, allocations: 1.009 MB / 1.577 GB, free: 1.758 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/1.919, allocations: 3.21 MB / 1.58 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/1.919, allocations: 160 kB / 1.58 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003811/1.923, allocations: 280 kB / 1.58 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01418/1.937, allocations: 4.717 MB / 1.585 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/1.96, allocations: 6.696 MB / 1.592 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/1.96, allocations: 23.56 kB / 1.592 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001936/1.962, allocations: 15.95 kB / 1.592 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003837/1.962, allocations: 265.2 kB / 1.592 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/2.017, allocations: 35.21 MB / 1.626 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/2.021, allocations: 2.047 MB / 1.628 GB, free: 9.391 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/2.023, allocations: 1.416 MB / 1.63 GB, free: 7.977 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/2.023, allocations: 17.31 kB / 1.63 GB, free: 7.957 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/2.023, allocations: 51.88 kB / 1.63 GB, free: 7.898 MB / 1.042 GB Notification: Performance of pre-optimization done (n=157): time 4.889e-06/2.023, allocations: 0 / 1.63 GB, free: 7.898 MB / 1.042 GB Notification: Performance of matching and sorting (n=160): time 0.01034/2.034, allocations: 4.761 MB / 1.634 GB, free: 3.086 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/2.034, allocations: 68.72 kB / 1.634 GB, free: 3.004 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/2.036, allocations: 1.24 MB / 1.636 GB, free: 1.73 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/2.037, allocations: 25.7 kB / 1.636 GB, free: 1.699 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/2.038, allocations: 2.102 MB / 1.638 GB, free: 15.57 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/2.039, allocations: 0.5428 MB / 1.638 GB, free: 15.02 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/2.039, allocations: 4 kB / 1.638 GB, free: 15.02 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002253/2.039, allocations: 386.1 kB / 1.639 GB, free: 14.63 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/2.041, allocations: 0.9529 MB / 1.639 GB, free: 13.68 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/2.043, allocations: 1.667 MB / 1.641 GB, free: 11.68 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/2.044, allocations: 1.232 MB / 1.642 GB, free: 10.44 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/2.044, allocations: 15.95 kB / 1.642 GB, free: 10.43 MB / 1.057 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006298/2.051, allocations: 3.488 MB / 1.646 GB, free: 6.891 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/2.051, allocations: 16 kB / 1.646 GB, free: 6.875 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/2.051, allocations: 24 kB / 1.646 GB, free: 6.852 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/2.053, allocations: 0.8883 MB / 1.647 GB, free: 5.926 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/2.055, allocations: 415.3 kB / 1.647 GB, free: 5.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/2.075, allocations: 20.18 MB / 1.667 GB, free: 15.95 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/2.077, allocations: 75.89 kB / 1.667 GB, free: 15.88 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005149/2.078, allocations: 96 kB / 1.667 GB, free: 15.79 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007254/2.078, allocations: 176.3 kB / 1.667 GB, free: 15.61 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007708/2.079, allocations: 233.3 kB / 1.667 GB, free: 15.38 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005985/2.085, allocations: 3.057 MB / 1.67 GB, free: 12.27 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/2.085, allocations: 16 kB / 1.67 GB, free: 12.25 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/2.085, allocations: 15.95 kB / 1.67 GB, free: 12.24 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/2.085, allocations: 7.969 kB / 1.67 GB, free: 12.23 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/2.1, allocations: 6.586 MB / 1.677 GB, free: 5.5 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/2.1, allocations: 4 kB / 1.677 GB, free: 5.496 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/2.101, allocations: 215.6 kB / 1.677 GB, free: 5.285 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/2.103, allocations: 0.8454 MB / 1.678 GB, free: 4.402 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/2.103, allocations: 19.83 kB / 1.678 GB, free: 4.383 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/2.122, allocations: 20.16 MB / 1.697 GB, free: 14.83 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/2.122, allocations: 8 kB / 1.697 GB, free: 14.82 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006015/2.128, allocations: 3.505 MB / 1.701 GB, free: 11.05 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/2.13, allocations: 0.4984 MB / 1.701 GB, free: 10.54 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/2.13, allocations: 15.97 kB / 1.701 GB, free: 10.52 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/2.131, allocations: 59.89 kB / 1.701 GB, free: 10.46 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/2.131, allocations: 141 kB / 1.702 GB, free: 10.32 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/2.132, allocations: 51.94 kB / 1.702 GB, free: 10.27 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001381/2.133, allocations: 0.9061 MB / 1.703 GB, free: 9.348 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.7e-07/2.133, allocations: 0 / 1.703 GB, free: 9.348 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003409/2.136, allocations: 0.8437 MB / 1.703 GB, free: 8.504 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000342/2.137, allocations: 128.4 kB / 1.703 GB, free: 8.371 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.006243/2.143, allocations: 4.088 MB / 1.707 GB, free: 4.164 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/2.143, allocations: 0 / 1.707 GB, free: 4.164 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.004248/2.147, allocations: 2.822 MB / 1.71 GB, free: 1.227 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/2.151, allocations: 0.6444 MB / 1.711 GB, free: 0.582 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/2.164, allocations: 5.894 MB / 1.717 GB, free: 10.59 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004249/2.169, allocations: 3.293 MB / 1.72 GB, free: 7.254 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002117/2.171, allocations: 0.4923 MB / 1.72 GB, free: 6.758 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/2.171, allocations: 135.4 kB / 1.72 GB, free: 6.625 MB / 1.135 GB Notification: Performance of SimCode: time 7.21e-07/2.171, allocations: 0 / 1.72 GB, free: 6.625 MB / 1.135 GB Notification: Performance of Templates: time 0.7245/2.896, allocations: 35.26 MB / 1.755 GB, free: 289.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches