Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001794/0.001794, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 16 kB / 0.8146 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.7993, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008643/0.8079, allocations: 8.75 MB / 0.9621 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005028/0.813, allocations: 2.893 MB / 0.9649 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008993/0.8139, allocations: 34.19 kB / 0.9649 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.8146, allocations: 179.2 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.8166, allocations: 479.4 kB / 0.9656 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.8181, allocations: 435 kB / 0.966 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.8205, allocations: 1.31 MB / 0.9672 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004674/0.8252, allocations: 2.669 MB / 0.9699 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.827, allocations: 0.7333 MB / 0.9706 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.829, allocations: 0.8641 MB / 0.9714 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006282/0.8296, allocations: 101.7 kB / 0.9715 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.8309, allocations: 212.2 kB / 0.9717 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.8325, allocations: 0.7838 MB / 0.9725 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.8335, allocations: 357.8 kB / 0.9728 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.8368, allocations: 2.75 MB / 0.9755 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8368, allocations: 0 / 0.9755 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8368, allocations: 0 / 0.9755 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001215/0.8369, allocations: 0.9688 kB / 0.9755 GB, free: 8.43 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00547/0.8424, allocations: 1.614 MB / 0.9771 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8425, allocations: 9.281 kB / 0.9771 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00649/0.849, allocations: 0.946 MB / 0.978 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.8523, allocations: 1.094 MB / 0.9791 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.8525, allocations: 114.9 kB / 0.9792 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/0.8533, allocations: 139.9 kB / 0.9793 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.86, allocations: 2.99 MB / 0.9822 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.86, allocations: 7.938 kB / 0.9823 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.8603, allocations: 67.92 kB / 0.9823 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.8606, allocations: 179 kB / 0.9825 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/0.8656, allocations: 2.6 MB / 0.985 GB, free: 15.64 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.8844, allocations: 13.53 MB / 0.9982 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.8864, allocations: 1.296 MB / 0.9995 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.8865, allocations: 8.656 kB / 0.9995 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.8866, allocations: 35.22 kB / 0.9995 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.8866, allocations: 8 kB / 0.9996 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07017/0.9567, allocations: 19.44 MB / 1.019 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.9568, allocations: 64.72 kB / 1.019 GB, free: 12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.9581, allocations: 0.9222 MB / 1.019 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.9584, allocations: 45.7 kB / 1.02 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/0.959, allocations: 0.7283 MB / 1.02 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005069/0.9595, allocations: 492.9 kB / 1.021 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.9596, allocations: 32 kB / 1.021 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.9598, allocations: 422.7 kB / 1.021 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.9618, allocations: 1.331 MB / 1.022 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.9639, allocations: 1.643 MB / 1.024 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.966, allocations: 1.558 MB / 1.026 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.966, allocations: 0 / 1.026 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01122/0.9772, allocations: 5.617 MB / 1.031 GB, free: 15.05 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.9773, allocations: 11.95 kB / 1.031 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.9773, allocations: 15.94 kB / 1.031 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008688/0.986, allocations: 2.713 MB / 1.034 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.987, allocations: 195.6 kB / 1.034 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03432/1.021, allocations: 24.32 MB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.023, allocations: 99.88 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.023, allocations: 60 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001407/1.025, allocations: 0.7277 MB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/1.025, allocations: 114.6 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.036, allocations: 5.384 MB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.036, allocations: 15.95 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-05/1.036, allocations: 20 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.036, allocations: 7.969 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/1.052, allocations: 8.594 MB / 1.072 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.052, allocations: 11.97 kB / 1.072 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/1.053, allocations: 111.9 kB / 1.072 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008504/1.061, allocations: 2.549 MB / 1.075 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.062, allocations: 28.38 kB / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03162/1.093, allocations: 21.79 MB / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/1.093, allocations: 8.312 kB / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.105, allocations: 5.285 MB / 1.101 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.107, allocations: 479.5 kB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.107, allocations: 39.94 kB / 1.102 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.108, allocations: 71.91 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006734/1.109, allocations: 128.9 kB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.109, allocations: 40 kB / 1.102 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00103/1.11, allocations: 0.6356 MB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.11, allocations: 0 / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003314/1.113, allocations: 0.7227 MB / 1.103 GB, free: 3.422 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/1.114, allocations: 139.3 kB / 1.104 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007136/1.121, allocations: 4.142 MB / 1.108 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.121, allocations: 3.938 kB / 1.108 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.126, allocations: 2.659 MB / 1.11 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.127, allocations: 187.1 kB / 1.11 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/1.133, allocations: 4.531 MB / 1.115 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/1.135, allocations: 1.736 MB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008358/1.136, allocations: 329.4 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.136, allocations: 59.44 kB / 1.117 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/1.136, allocations: 0 / 1.117 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of Templates: time 0.05687/1.193, allocations: 35.98 MB / 1.152 GB, free: 1.609 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches