Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001111/0.00111, allocations: 180.1 kB / 492.3 MB, free: 0.6133 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.545/1.545, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0009817/0.0009817, allocations: 95.53 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.15e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3071, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.362, allocations: 175.9 MB / 1.384 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.362, allocations: 95.27 kB / 1.384 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1189/1.481, allocations: 55.82 MB / 1.439 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/1.481, allocations: 0 / 1.439 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.275e-05/1.482, allocations: 23.94 kB / 1.439 GB, free: 8.605 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001514/1.483, allocations: 0.8827 MB / 1.44 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.483, allocations: 12.03 kB / 1.44 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.485, allocations: 214.8 kB / 1.44 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/1.486, allocations: 0.5494 MB / 1.44 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/1.486, allocations: 47.92 kB / 1.44 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.486, allocations: 59.25 kB / 1.44 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/1.487, allocations: 1.084 MB / 1.442 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.487, allocations: 7.5 kB / 1.442 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/1.487, allocations: 30.25 kB / 1.442 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/1.487, allocations: 56.58 kB / 1.442 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/1.488, allocations: 0.6748 MB / 1.442 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005103/1.494, allocations: 5.789 MB / 1.448 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/1.494, allocations: 0.5876 MB / 1.449 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/1.495, allocations: 399.4 kB / 1.449 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/1.495, allocations: 4 kB / 1.449 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.495, allocations: 34.34 kB / 1.449 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/1.495, allocations: 0 / 1.449 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.002258/1.497, allocations: 1.219 MB / 1.45 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.497, allocations: 55.41 kB / 1.45 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/1.498, allocations: 395.2 kB / 1.451 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/1.498, allocations: 33.52 kB / 1.451 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/1.498, allocations: 386.8 kB / 1.451 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/1.498, allocations: 144.7 kB / 1.451 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/1.498, allocations: 6.875 kB / 1.451 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.499, allocations: 372.6 kB / 1.451 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/1.499, allocations: 231.4 kB / 1.452 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/1.499, allocations: 421 kB / 1.452 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/1.5, allocations: 300.7 kB / 1.452 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.5, allocations: 3.938 kB / 1.452 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001691/1.501, allocations: 1.012 MB / 1.453 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.502, allocations: 13.36 kB / 1.453 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.502, allocations: 4 kB / 1.453 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/1.503, allocations: 328.4 kB / 1.454 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/1.503, allocations: 87.45 kB / 1.454 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/1.51, allocations: 7.085 MB / 1.461 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/1.51, allocations: 34.78 kB / 1.461 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.51, allocations: 23.44 kB / 1.461 GB, free: 3.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/1.51, allocations: 137.4 kB / 1.461 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/1.51, allocations: 59.25 kB / 1.461 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/1.512, allocations: 0.8906 MB / 1.462 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.512, allocations: 4 kB / 1.462 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.512, allocations: 4 kB / 1.462 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.512, allocations: 7.969 kB / 1.462 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/1.515, allocations: 1.852 MB / 1.464 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.515, allocations: 0 / 1.464 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.516, allocations: 43.91 kB / 1.464 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008152/1.516, allocations: 290.2 kB / 1.464 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/1.516, allocations: 11.5 kB / 1.464 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006255/1.523, allocations: 6.819 MB / 1.471 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.523, allocations: 7.969 kB / 1.471 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.524, allocations: 1.012 MB / 1.472 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/1.525, allocations: 171 kB / 1.472 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.525, allocations: 10.75 kB / 1.472 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/1.525, allocations: 22.05 kB / 1.472 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/1.525, allocations: 43 kB / 1.472 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/1.525, allocations: 8 kB / 1.472 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003542/1.526, allocations: 310 kB / 1.472 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.526, allocations: 4 kB / 1.472 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000899/1.526, allocations: 195.8 kB / 1.472 GB, free: 9.066 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/1.527, allocations: 113.4 kB / 1.472 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.528, allocations: 1.144 MB / 1.474 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.529, allocations: 0 / 1.474 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.53, allocations: 0.8195 MB / 1.474 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/1.531, allocations: 178.9 kB / 1.475 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/1.532, allocations: 0.8997 MB / 1.475 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/1.533, allocations: 0.9999 MB / 1.476 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003071/1.533, allocations: 105.1 kB / 1.476 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/1.533, allocations: 35.44 kB / 1.477 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/1.533, allocations: 4 kB / 1.477 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of Templates: time 0.01546/1.549, allocations: 8.756 MB / 1.485 GB, free: 12.43 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches