Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001323/0.001323, allocations: 178.4 kB / 492.3 MB, free: 0.6328 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.503/1.503, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008314/0.0008315, allocations: 99.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.617e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9321/1.186, allocations: 191.4 MB / 1.399 GB, free: 8.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/1.186, allocations: 96.31 kB / 1.399 GB, free: 8.625 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2755/1.461, allocations: 83.57 MB / 1.481 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/1.462, allocations: 0 / 1.481 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001028/1.462, allocations: 36 kB / 1.481 GB, free: 1.473 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002813/1.464, allocations: 1.541 MB / 1.483 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.465, allocations: 16.03 kB / 1.483 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/1.475, allocations: 1.806 MB / 1.484 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/1.478, allocations: 1.137 MB / 1.485 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/1.478, allocations: 85.25 kB / 1.486 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/1.478, allocations: 119.6 kB / 1.486 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/1.482, allocations: 2.05 MB / 1.488 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/1.482, allocations: 7.938 kB / 1.488 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.482, allocations: 55.55 kB / 1.488 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.868e-05/1.482, allocations: 77.84 kB / 1.488 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/1.484, allocations: 1.61 MB / 1.489 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/1.499, allocations: 10.18 MB / 1.499 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.501, allocations: 1.13 MB / 1.5 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/1.502, allocations: 0.5956 MB / 1.501 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/1.502, allocations: 12.39 kB / 1.501 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.502, allocations: 39 kB / 1.501 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 4.178e-06/1.502, allocations: 7.922 kB / 1.501 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.02179/1.523, allocations: 6.614 MB / 1.508 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.524, allocations: 214.4 kB / 1.508 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.525, allocations: 0.9397 MB / 1.509 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/1.526, allocations: 41.7 kB / 1.509 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/1.526, allocations: 0.7342 MB / 1.509 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/1.526, allocations: 272 kB / 1.51 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.527, allocations: 23.94 kB / 1.51 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.527, allocations: 345.9 kB / 1.51 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.528, allocations: 0.6853 MB / 1.511 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.529, allocations: 0.934 MB / 1.512 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.53, allocations: 0.7477 MB / 1.512 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.53, allocations: 0 / 1.512 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00504/1.535, allocations: 2.495 MB / 1.515 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.535, allocations: 15.94 kB / 1.515 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.535, allocations: 8 kB / 1.515 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/1.538, allocations: 0.8616 MB / 1.516 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.54, allocations: 415.3 kB / 1.516 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.556, allocations: 14.88 MB / 1.531 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/1.559, allocations: 307.6 kB / 1.531 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/1.559, allocations: 47.97 kB / 1.531 GB, free: 14.3 MB / 0.948 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004019/1.56, allocations: 159.5 kB / 1.531 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/1.56, allocations: 150.3 kB / 1.531 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/1.566, allocations: 2.457 MB / 1.534 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.566, allocations: 8 kB / 1.534 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.566, allocations: 4 kB / 1.534 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.566, allocations: 7.984 kB / 1.534 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/1.574, allocations: 4.24 MB / 1.538 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.574, allocations: 4 kB / 1.538 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.575, allocations: 367.7 kB / 1.538 GB, free: 6.738 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/1.578, allocations: 0.7718 MB / 1.539 GB, free: 5.941 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.578, allocations: 35.97 kB / 1.539 GB, free: 5.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/1.593, allocations: 14.51 MB / 1.553 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.593, allocations: 4 kB / 1.553 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004809/1.598, allocations: 2.462 MB / 1.555 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.599, allocations: 399.2 kB / 1.556 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/1.6, allocations: 16 kB / 1.556 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.602, allocations: 307.4 kB / 1.556 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.602, allocations: 84.56 kB / 1.556 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.602, allocations: 39.97 kB / 1.556 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00139/1.604, allocations: 0.7231 MB / 1.557 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.61e-07/1.604, allocations: 0 / 1.557 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002/1.606, allocations: 463.9 kB / 1.557 GB, free: 1.668 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/1.606, allocations: 148.5 kB / 1.558 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00464/1.611, allocations: 2.849 MB / 1.56 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.611, allocations: 4 kB / 1.56 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.614, allocations: 1.985 MB / 1.562 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.616, allocations: 475.8 kB / 1.563 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/1.623, allocations: 2.719 MB / 1.565 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.625, allocations: 1.419 MB / 1.567 GB, free: 7.773 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001927/1.627, allocations: 379.9 kB / 1.567 GB, free: 7.398 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/1.627, allocations: 111.4 kB / 1.567 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/1.627, allocations: 4 kB / 1.567 GB, free: 7.285 MB / 0.9792 GB Notification: Performance of Templates: time 0.05175/1.679, allocations: 29.21 MB / 1.596 GB, free: 10.45 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches