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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001221/0.001222, allocations: 172.8 kB / 492.3 MB, free: 0.6055 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.606/1.606, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001044/0.001044, allocations: 94.59 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.029e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9054/1.177, allocations: 179.1 MB / 1.387 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.178, allocations: 103.7 kB / 1.387 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2013/1.379, allocations: 91.7 MB / 1.477 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.303e-06/1.379, allocations: 0 / 1.477 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001053/1.379, allocations: 52 kB / 1.477 GB, free: 6.078 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.003902/1.383, allocations: 2.122 MB / 1.479 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.383, allocations: 8.031 kB / 1.479 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/1.387, allocations: 0.754 MB / 1.48 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/1.39, allocations: 1.536 MB / 1.481 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.391, allocations: 178.3 kB / 1.481 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/1.391, allocations: 231.3 kB / 1.482 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006653/1.398, allocations: 3.811 MB / 1.485 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/1.398, allocations: 11.94 kB / 1.485 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/1.398, allocations: 104 kB / 1.486 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/1.398, allocations: 152.6 kB / 1.486 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005029/1.403, allocations: 3.181 MB / 1.489 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/1.422, allocations: 16.5 MB / 1.505 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/1.425, allocations: 2.11 MB / 1.507 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008011/1.426, allocations: 0.5859 MB / 1.508 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/1.426, allocations: 93.66 kB / 1.508 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.426, allocations: 43.12 kB / 1.508 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/1.426, allocations: 0 / 1.508 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.004438/1.431, allocations: 2.575 MB / 1.51 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.431, allocations: 111.6 kB / 1.51 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.432, allocations: 0.9 MB / 1.511 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/1.432, allocations: 37.7 kB / 1.511 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/1.433, allocations: 1.099 MB / 1.512 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/1.433, allocations: 272.2 kB / 1.513 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/1.433, allocations: 28 kB / 1.513 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.433, allocations: 418.7 kB / 1.513 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007985/1.434, allocations: 0.5817 MB / 1.514 GB, free: 408 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/1.435, allocations: 1.127 MB / 1.515 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.436, allocations: 0.8372 MB / 1.515 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.436, allocations: 4 kB / 1.515 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002823/1.439, allocations: 1.931 MB / 1.517 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.439, allocations: 16 kB / 1.517 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.439, allocations: 16 kB / 1.517 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/1.44, allocations: 171.8 kB / 1.518 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.441, allocations: 335.4 kB / 1.518 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.593e-05/1.441, allocations: 39.86 kB / 1.518 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.442, allocations: 139.6 kB / 1.518 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.442, allocations: 67.98 kB / 1.518 GB, free: 11.44 MB / 0.9323 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.0002263/1.442, allocations: 185.2 kB / 1.518 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.443, allocations: 110.7 kB / 1.518 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/1.445, allocations: 1.197 MB / 1.52 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.445, allocations: 11.94 kB / 1.52 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.445, allocations: 4 kB / 1.52 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.445, allocations: 7.938 kB / 1.52 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/1.451, allocations: 3.773 MB / 1.523 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/1.451, allocations: 4 kB / 1.523 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/1.452, allocations: 155.8 kB / 1.523 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/1.452, allocations: 135.3 kB / 1.524 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/1.452, allocations: 16 kB / 1.524 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.452, allocations: 12.12 kB / 1.524 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.452, allocations: 7.938 kB / 1.524 GB, free: 5.645 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.454, allocations: 1.549 MB / 1.525 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/1.455, allocations: 291.7 kB / 1.525 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.455, allocations: 12 kB / 1.525 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/1.455, allocations: 87.83 kB / 1.525 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.455, allocations: 56.39 kB / 1.525 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/1.456, allocations: 23.98 kB / 1.525 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009188/1.456, allocations: 0.68 MB / 1.526 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.21e-07/1.456, allocations: 0 / 1.526 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001467/1.458, allocations: 420.1 kB / 1.527 GB, free: 2.395 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.0002257/1.458, allocations: 135.1 kB / 1.527 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.46, allocations: 1.654 MB / 1.528 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.46, allocations: 0 / 1.528 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008298/1.461, allocations: 0.8385 MB / 1.529 GB, free: 15.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.462, allocations: 242.4 kB / 1.529 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/1.468, allocations: 3.039 MB / 1.532 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.47, allocations: 1.957 MB / 1.534 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001226/1.471, allocations: 437.3 kB / 1.535 GB, free: 9.828 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.471, allocations: 83.42 kB / 1.535 GB, free: 9.746 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/1.471, allocations: 0 / 1.535 GB, free: 9.746 MB / 0.948 GB Notification: Performance of Templates: time 0.02365/1.495, allocations: 12.65 MB / 1.547 GB, free: 13.21 MB / 0.9636 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