Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001206/0.001207, allocations: 176.9 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.663/1.663, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009176/0.0009177, allocations: 95.84 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.742e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9548/1.27, allocations: 178.4 MB / 1.38 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.271, allocations: 96.09 kB / 1.38 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1995/1.47, allocations: 91.34 MB / 1.469 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/1.47, allocations: 0 / 1.469 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001195/1.47, allocations: 55.98 kB / 1.47 GB, free: 15.69 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004507/1.475, allocations: 2.11 MB / 1.472 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.475, allocations: 8.031 kB / 1.472 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/1.479, allocations: 0.7611 MB / 1.472 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/1.482, allocations: 1.537 MB / 1.474 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.214e-05/1.482, allocations: 76 kB / 1.474 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/1.482, allocations: 136 kB / 1.474 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004738/1.487, allocations: 2.691 MB / 1.477 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005868/1.493, allocations: 3.472 MB / 1.48 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/1.493, allocations: 3.938 kB / 1.48 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/1.493, allocations: 4 kB / 1.48 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/1.493, allocations: 160.5 kB / 1.48 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01935/1.513, allocations: 15.8 MB / 1.496 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/1.516, allocations: 2.084 MB / 1.498 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/1.517, allocations: 0.5629 MB / 1.498 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/1.517, allocations: 105.6 kB / 1.498 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.517, allocations: 43.12 kB / 1.498 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 3.918e-06/1.517, allocations: 0 / 1.498 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.005696/1.523, allocations: 2.597 MB / 1.501 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/1.523, allocations: 111.6 kB / 1.501 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.524, allocations: 0.8363 MB / 1.502 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/1.524, allocations: 25.7 kB / 1.502 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/1.525, allocations: 1.095 MB / 1.503 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.526, allocations: 260.2 kB / 1.503 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/1.526, allocations: 0 / 1.503 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.526, allocations: 410.7 kB / 1.504 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/1.527, allocations: 0.5622 MB / 1.504 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.528, allocations: 1.084 MB / 1.505 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.529, allocations: 0.9487 MB / 1.506 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/1.529, allocations: 8 kB / 1.506 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003261/1.533, allocations: 1.912 MB / 1.508 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.533, allocations: 25.61 kB / 1.508 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.533, allocations: 16 kB / 1.508 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/1.533, allocations: 159.3 kB / 1.508 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.534, allocations: 347.7 kB / 1.509 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/1.534, allocations: 35.86 kB / 1.509 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/1.535, allocations: 111.7 kB / 1.509 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.535, allocations: 63.98 kB / 1.509 GB, free: 6.738 MB / 0.9167 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.0002173/1.536, allocations: 156.4 kB / 1.509 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.536, allocations: 110.6 kB / 1.509 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/1.538, allocations: 1.174 MB / 1.51 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.538, allocations: 8 kB / 1.51 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.538, allocations: 4 kB / 1.51 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.538, allocations: 7.984 kB / 1.51 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/1.543, allocations: 3.19 MB / 1.513 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.543, allocations: 4 kB / 1.513 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/1.544, allocations: 164 kB / 1.513 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/1.544, allocations: 143.3 kB / 1.514 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/1.545, allocations: 4 kB / 1.514 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/1.545, allocations: 4 kB / 1.514 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.545, allocations: 7.938 kB / 1.514 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/1.547, allocations: 1.548 MB / 1.515 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/1.547, allocations: 287.7 kB / 1.515 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.547, allocations: 4 kB / 1.515 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/1.548, allocations: 67.89 kB / 1.515 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.548, allocations: 60.38 kB / 1.515 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/1.548, allocations: 24 kB / 1.515 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000864/1.549, allocations: 0.6205 MB / 1.516 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.01e-07/1.549, allocations: 0 / 1.516 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001576/1.55, allocations: 371.9 kB / 1.516 GB, free: 14.48 MB / 0.9323 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.0002331/1.551, allocations: 127.9 kB / 1.517 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.553, allocations: 1.581 MB / 1.518 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.553, allocations: 0 / 1.518 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/1.554, allocations: 0.8179 MB / 1.519 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.555, allocations: 220 kB / 1.519 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/1.56, allocations: 2.999 MB / 1.522 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/1.562, allocations: 1.957 MB / 1.524 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001177/1.563, allocations: 429 kB / 1.524 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.564, allocations: 79.42 kB / 1.524 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of SimCode: time 9.21e-07/1.564, allocations: 8 kB / 1.524 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of Templates: time 0.02267/1.586, allocations: 11.74 MB / 1.536 GB, free: 10.37 MB / 0.948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches