Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009891/0.0009893, allocations: 188.8 kB / 487.4 MB, free: 5.07 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.639/1.639, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.000913/0.000913, allocations: 107.7 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.358e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9663/1.258, allocations: 179.1 MB / 1.381 GB, free: 17.83 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.259, allocations: 96.61 kB / 1.381 GB, free: 17.81 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1901/1.449, allocations: 76.49 MB / 1.456 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.844e-06/1.449, allocations: 4 kB / 1.456 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001396/1.449, allocations: 36 kB / 1.456 GB, free: 11.14 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005396/1.454, allocations: 1.618 MB / 1.457 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.454, allocations: 16.02 kB / 1.457 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/1.458, allocations: 489.1 kB / 1.458 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/1.46, allocations: 1.292 MB / 1.459 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/1.46, allocations: 48 kB / 1.459 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/1.46, allocations: 84 kB / 1.459 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003938/1.464, allocations: 2.271 MB / 1.461 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/1.469, allocations: 2.885 MB / 1.464 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/1.469, allocations: 3.938 kB / 1.464 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/1.469, allocations: 4 kB / 1.464 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007333/1.47, allocations: 178.1 kB / 1.464 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/1.491, allocations: 14.49 MB / 1.479 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/1.494, allocations: 1.754 MB / 1.48 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/1.496, allocations: 1.49 MB / 1.482 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/1.496, allocations: 17.3 kB / 1.482 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.496, allocations: 47.88 kB / 1.482 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/1.496, allocations: 0 / 1.482 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.04302/1.539, allocations: 14.28 MB / 1.496 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.539, allocations: 69.41 kB / 1.496 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.541, allocations: 0.981 MB / 1.497 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004837/1.541, allocations: 25.7 kB / 1.497 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/1.542, allocations: 0.7835 MB / 1.498 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/1.543, allocations: 0.6004 MB / 1.498 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/1.543, allocations: 3.938 kB / 1.498 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.543, allocations: 381.9 kB / 1.498 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/1.546, allocations: 2.05 MB / 1.5 GB, free: 440 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/1.549, allocations: 2.373 MB / 1.503 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005183/1.554, allocations: 2.762 MB / 1.506 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.554, allocations: 0 / 1.506 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01766/1.571, allocations: 8.482 MB / 1.514 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/1.572, allocations: 11.98 kB / 1.514 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.572, allocations: 8 kB / 1.514 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/1.587, allocations: 4.939 MB / 1.519 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.589, allocations: 255.6 kB / 1.519 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.038/1.627, allocations: 22.96 MB / 1.541 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.63, allocations: 87.77 kB / 1.541 GB, free: 6.109 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009206/1.631, allocations: 267.8 kB / 1.542 GB, free: 5.848 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.632, allocations: 140.5 kB / 1.542 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005831/1.632, allocations: 134.4 kB / 1.542 GB, free: 5.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.649, allocations: 8.031 MB / 1.55 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.649, allocations: 24 kB / 1.55 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.649, allocations: 19.98 kB / 1.55 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.008e-05/1.649, allocations: 11.95 kB / 1.55 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/1.675, allocations: 12.42 MB / 1.562 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.675, allocations: 4 kB / 1.562 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/1.675, allocations: 115.9 kB / 1.562 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/1.69, allocations: 4.713 MB / 1.567 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005181/1.691, allocations: 59.89 kB / 1.567 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03382/1.725, allocations: 19.26 MB / 1.586 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.725, allocations: 4 kB / 1.586 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.743, allocations: 7.66 MB / 1.593 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.745, allocations: 0.8272 MB / 1.594 GB, free: 15.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007316/1.746, allocations: 11.94 kB / 1.594 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.748, allocations: 55.94 kB / 1.594 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.748, allocations: 189.6 kB / 1.594 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/1.749, allocations: 175.9 kB / 1.594 GB, free: 15.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001417/1.75, allocations: 0.7646 MB / 1.595 GB, free: 14.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.61e-07/1.75, allocations: 0 / 1.595 GB, free: 14.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003508/1.754, allocations: 0.6915 MB / 1.596 GB, free: 13.86 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005584/1.754, allocations: 138.9 kB / 1.596 GB, free: 13.72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.765, allocations: 5.678 MB / 1.601 GB, free: 8.031 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.765, allocations: 0 / 1.601 GB, free: 8.031 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008308/1.774, allocations: 3.371 MB / 1.605 GB, free: 4.637 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.776, allocations: 159.2 kB / 1.605 GB, free: 4.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/1.785, allocations: 4.232 MB / 1.609 GB, free: 168 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.787, allocations: 1.831 MB / 1.611 GB, free: 14.3 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.00147/1.789, allocations: 402.7 kB / 1.611 GB, free: 13.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.789, allocations: 119.3 kB / 1.611 GB, free: 13.79 MB / 1.026 GB Notification: Performance of SimCode: time 1.182e-06/1.789, allocations: 0 / 1.611 GB, free: 13.79 MB / 1.026 GB Notification: Performance of Templates: time 0.09232/1.882, allocations: 60.48 MB / 1.67 GB, free: 1.32 MB / 1.073 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches