Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001934/0.001934, allocations: 181.8 kB / 498.1 MB, free: 5.742 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.799/1.799, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.0009618/0.0009621, allocations: 100.3 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.0005902, allocations: 9.125 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.32, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2183/0.5383, allocations: 172.8 MB / 1.392 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/0.5388, allocations: 95.94 kB / 1.392 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7012/1.24, allocations: 40.39 MB / 1.431 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.345e-06/1.24, allocations: 0 / 1.431 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.617e-05/1.24, allocations: 26.73 kB / 1.431 GB, free: 181.5 MB / 0.9167 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.001621/1.242, allocations: 0.9364 MB / 1.432 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.242, allocations: 8.062 kB / 1.432 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.243, allocations: 220.6 kB / 1.432 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/1.244, allocations: 0.5354 MB / 1.433 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/1.244, allocations: 45.23 kB / 1.433 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.245, allocations: 65.28 kB / 1.433 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/1.246, allocations: 1.086 MB / 1.434 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/1.246, allocations: 12.78 kB / 1.434 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/1.246, allocations: 34.91 kB / 1.434 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-05/1.246, allocations: 56.42 kB / 1.434 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.248, allocations: 0.6886 MB / 1.435 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/1.253, allocations: 5.777 MB / 1.44 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/1.254, allocations: 0.5972 MB / 1.441 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/1.254, allocations: 4.5 kB / 1.441 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.254, allocations: 37.92 kB / 1.441 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/1.254, allocations: 0 / 1.441 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.004254/1.258, allocations: 1.904 MB / 1.443 GB, free: 175 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.258, allocations: 61.95 kB / 1.443 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/1.258, allocations: 393.2 kB / 1.443 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/1.259, allocations: 34.3 kB / 1.443 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/1.259, allocations: 375.7 kB / 1.444 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.259, allocations: 149.5 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/1.259, allocations: 10.16 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.259, allocations: 363.4 kB / 1.444 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/1.259, allocations: 227.3 kB / 1.444 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/1.26, allocations: 419 kB / 1.445 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/1.26, allocations: 290.9 kB / 1.445 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.26, allocations: 1.219 kB / 1.445 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00192/1.262, allocations: 0.9606 MB / 1.446 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.262, allocations: 8.203 kB / 1.446 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.262, allocations: 5.844 kB / 1.446 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/1.263, allocations: 268.2 kB / 1.446 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.264, allocations: 95.59 kB / 1.446 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/1.27, allocations: 6.754 MB / 1.453 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/1.271, allocations: 33.3 kB / 1.453 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/1.271, allocations: 26.88 kB / 1.453 GB, free: 168.6 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000602/1.271, allocations: 237.7 kB / 1.453 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.272, allocations: 63.38 kB / 1.453 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.274, allocations: 0.832 MB / 1.454 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.274, allocations: 4.281 kB / 1.454 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.274, allocations: 3.25 kB / 1.454 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.274, allocations: 3.344 kB / 1.454 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/1.277, allocations: 1.728 MB / 1.456 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.277, allocations: 1.281 kB / 1.456 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/1.278, allocations: 53.67 kB / 1.456 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009176/1.279, allocations: 257.3 kB / 1.456 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/1.279, allocations: 11.64 kB / 1.456 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/1.284, allocations: 6.46 MB / 1.463 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.284, allocations: 9.594 kB / 1.463 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.286, allocations: 0.9639 MB / 1.463 GB, free: 162.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/1.286, allocations: 177.5 kB / 1.464 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/1.286, allocations: 11.02 kB / 1.464 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.286, allocations: 20.2 kB / 1.464 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.287, allocations: 44.53 kB / 1.464 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/1.287, allocations: 12.72 kB / 1.464 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000398/1.287, allocations: 311.2 kB / 1.464 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.1e-07/1.287, allocations: 3.938 kB / 1.464 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009954/1.288, allocations: 190.7 kB / 1.464 GB, free: 161.7 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/1.288, allocations: 115.5 kB / 1.464 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.29, allocations: 1.132 MB / 1.465 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.29, allocations: 0 / 1.465 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/1.291, allocations: 0.8053 MB / 1.466 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/1.292, allocations: 179.9 kB / 1.466 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/1.294, allocations: 1.457 MB / 1.468 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/1.294, allocations: 0.9982 MB / 1.469 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000406/1.295, allocations: 106.7 kB / 1.469 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.295, allocations: 35.31 kB / 1.469 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of SimCode: time 7.21e-07/1.295, allocations: 0 / 1.469 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.01482/1.31, allocations: 8.648 MB / 1.477 GB, free: 158.2 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches