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/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,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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001012/0.001012, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.532/1.532, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0008871/0.000887, allocations: 91.03 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.559e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.293, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9612/1.254, allocations: 177.8 MB / 1.38 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.255, allocations: 99.95 kB / 1.38 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1726/1.427, allocations: 73.37 MB / 1.451 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.427, allocations: 4 kB / 1.451 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.294e-05/1.427, allocations: 36 kB / 1.451 GB, free: 15.12 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002985/1.43, allocations: 1.504 MB / 1.453 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.43, allocations: 8.031 kB / 1.453 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/1.433, allocations: 481.3 kB / 1.453 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/1.435, allocations: 1.137 MB / 1.454 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/1.435, allocations: 48 kB / 1.454 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/1.435, allocations: 87.38 kB / 1.455 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003483/1.439, allocations: 1.963 MB / 1.456 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/1.443, allocations: 2.549 MB / 1.459 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/1.443, allocations: 0 / 1.459 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/1.443, allocations: 4 kB / 1.459 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004955/1.444, allocations: 158.2 kB / 1.459 GB, free: 8.773 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01915/1.463, allocations: 13.76 MB / 1.473 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/1.465, allocations: 1.296 MB / 1.474 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.467, allocations: 1.088 MB / 1.475 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/1.467, allocations: 12.53 kB / 1.475 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.467, allocations: 43.34 kB / 1.475 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/1.467, allocations: 0 / 1.475 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02585/1.493, allocations: 8.999 MB / 1.484 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.493, allocations: 64.72 kB / 1.484 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.494, allocations: 0.8784 MB / 1.485 GB, free: 392 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/1.494, allocations: 29.64 kB / 1.485 GB, free: 356 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/1.495, allocations: 0.7207 MB / 1.485 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/1.495, allocations: 469 kB / 1.486 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.496, allocations: 0 / 1.486 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.496, allocations: 426.5 kB / 1.486 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/1.498, allocations: 1.425 MB / 1.488 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.5, allocations: 1.722 MB / 1.489 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/1.504, allocations: 1.989 MB / 1.491 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.504, allocations: 0 / 1.491 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0113/1.515, allocations: 5.567 MB / 1.497 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/1.515, allocations: 8 kB / 1.497 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.515, allocations: 12 kB / 1.497 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007638/1.523, allocations: 2.692 MB / 1.499 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.524, allocations: 219.6 kB / 1.5 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/1.545, allocations: 15.19 MB / 1.514 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.547, allocations: 71.86 kB / 1.514 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/1.547, allocations: 160 kB / 1.515 GB, free: 1.25 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003626/1.548, allocations: 136.7 kB / 1.515 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/1.548, allocations: 114.7 kB / 1.515 GB, free: 0.9961 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.558, allocations: 5.045 MB / 1.52 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.558, allocations: 16 kB / 1.52 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.558, allocations: 8 kB / 1.52 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.558, allocations: 3.984 kB / 1.52 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.574, allocations: 8.169 MB / 1.528 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.574, allocations: 4 kB / 1.528 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/1.574, allocations: 115.9 kB / 1.528 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007444/1.582, allocations: 2.532 MB / 1.53 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.582, allocations: 39.94 kB / 1.53 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/1.602, allocations: 12.82 MB / 1.543 GB, free: 3.848 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.602, allocations: 4 kB / 1.543 GB, free: 3.844 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009748/1.611, allocations: 4.947 MB / 1.548 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.613, allocations: 0.5971 MB / 1.548 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/1.613, allocations: 7.984 kB / 1.548 GB, free: 14.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/1.614, allocations: 55.83 kB / 1.548 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.614, allocations: 133 kB / 1.549 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.615, allocations: 115.9 kB / 1.549 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009214/1.616, allocations: 0.6631 MB / 1.549 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/1.616, allocations: 0 / 1.549 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002495/1.618, allocations: 0.5234 MB / 1.55 GB, free: 12.62 MB / 0.9636 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 (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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004069/1.618, allocations: 138.2 kB / 1.55 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006904/1.625, allocations: 3.892 MB / 1.554 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.625, allocations: 0 / 1.554 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004905/1.63, allocations: 2.281 MB / 1.556 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/1.632, allocations: 154.3 kB / 1.556 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/1.638, allocations: 3.245 MB / 1.559 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/1.64, allocations: 1.701 MB / 1.561 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001225/1.641, allocations: 401 kB / 1.561 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/1.641, allocations: 75.39 kB / 1.561 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of SimCode: time 2.985e-06/1.641, allocations: 0 / 1.561 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of Templates: time 0.05564/1.697, allocations: 37.92 MB / 1.598 GB, free: 10.75 MB / 1.01 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