Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001079/0.001079, allocations: 180 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0008618/0.0008618, allocations: 88.02 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.013e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3547, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.491, allocations: 179.9 MB / 1.394 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00042/1.491, allocations: 97.69 kB / 1.395 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2206/1.712, allocations: 91.7 MB / 1.484 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.815e-06/1.712, allocations: 4 kB / 1.484 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001338/1.712, allocations: 52 kB / 1.484 GB, free: 2.094 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006038/1.718, allocations: 2.108 MB / 1.486 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.718, allocations: 8.031 kB / 1.486 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/1.723, allocations: 0.7579 MB / 1.487 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/1.726, allocations: 1.543 MB / 1.488 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.726, allocations: 176.8 kB / 1.489 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005049/1.727, allocations: 228 kB / 1.489 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007325/1.734, allocations: 3.821 MB / 1.493 GB, free: 9.172 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/1.734, allocations: 7.938 kB / 1.493 GB, free: 9.164 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/1.735, allocations: 108 kB / 1.493 GB, free: 9.059 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/1.735, allocations: 148.6 kB / 1.493 GB, free: 8.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005634/1.74, allocations: 3.184 MB / 1.496 GB, free: 5.711 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/1.762, allocations: 16.5 MB / 1.512 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/1.765, allocations: 2.108 MB / 1.514 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008788/1.766, allocations: 0.5942 MB / 1.515 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/1.766, allocations: 89.67 kB / 1.515 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.767, allocations: 51.11 kB / 1.515 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/1.767, allocations: 0 / 1.515 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.004412/1.771, allocations: 2.571 MB / 1.517 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/1.771, allocations: 111.6 kB / 1.517 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.772, allocations: 0.8923 MB / 1.518 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/1.772, allocations: 41.7 kB / 1.518 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/1.773, allocations: 1.099 MB / 1.519 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.774, allocations: 268.3 kB / 1.52 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/1.774, allocations: 28 kB / 1.52 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002488/1.774, allocations: 418.7 kB / 1.52 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/1.775, allocations: 0.5817 MB / 1.521 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.776, allocations: 1.135 MB / 1.522 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.777, allocations: 0.8295 MB / 1.523 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.777, allocations: 4 kB / 1.523 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003019/1.78, allocations: 1.936 MB / 1.524 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.78, allocations: 20.22 kB / 1.524 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.78, allocations: 16 kB / 1.524 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/1.781, allocations: 163.3 kB / 1.525 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.782, allocations: 339.4 kB / 1.525 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.916e-05/1.782, allocations: 39.86 kB / 1.525 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.783, allocations: 139.6 kB / 1.525 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.783, allocations: 64 kB / 1.525 GB, free: 5.664 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/1.783, allocations: 193.5 kB / 1.525 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.784, allocations: 110.7 kB / 1.525 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.786, allocations: 1.197 MB / 1.527 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.786, allocations: 8 kB / 1.527 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.786, allocations: 7.953 kB / 1.527 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.786, allocations: 3.984 kB / 1.527 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/1.792, allocations: 3.765 MB / 1.53 GB, free: 212 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.792, allocations: 4 kB / 1.53 GB, free: 208 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/1.793, allocations: 163.8 kB / 1.531 GB, free: 44 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/1.793, allocations: 143.5 kB / 1.531 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/1.793, allocations: 19.94 kB / 1.531 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/1.793, allocations: 4 kB / 1.531 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.793, allocations: 7.984 kB / 1.531 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.795, allocations: 1.557 MB / 1.532 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/1.796, allocations: 287.7 kB / 1.532 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.796, allocations: 19.98 kB / 1.533 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/1.797, allocations: 75.86 kB / 1.533 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.797, allocations: 56.42 kB / 1.533 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.797, allocations: 28 kB / 1.533 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009313/1.798, allocations: 0.68 MB / 1.533 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/1.798, allocations: 0 / 1.533 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001568/1.799, allocations: 416.1 kB / 1.534 GB, free: 12.61 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/1.8, allocations: 131.2 kB / 1.534 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002196/1.802, allocations: 1.658 MB / 1.535 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.802, allocations: 0 / 1.535 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000875/1.803, allocations: 0.8471 MB / 1.536 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.804, allocations: 234.8 kB / 1.537 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/1.81, allocations: 3.031 MB / 1.539 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.812, allocations: 1.964 MB / 1.541 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001303/1.813, allocations: 433.5 kB / 1.542 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.813, allocations: 79.44 kB / 1.542 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of SimCode: time 1.744e-06/1.813, allocations: 0 / 1.542 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of Templates: time 0.02656/1.84, allocations: 12.66 MB / 1.554 GB, free: 7.438 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches