Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.455/2.455, 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.001207/0.001207, allocations: 191.2 kB / 498.1 MB, free: 5.734 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.662/1.662, allocations: 223.2 MB / 0.7949 GB, free: 17.82 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.001039/0.001039, allocations: 94.55 kB / 0.9346 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 15.03 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.5438, allocations: 191.8 MB / 1.41 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5441, allocations: 99.94 kB / 1.41 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.815/1.359, allocations: 119.5 MB / 1.527 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.655e-06/1.359, allocations: 0 / 1.527 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001837/1.359, allocations: 71.92 kB / 1.527 GB, free: 123.2 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007565/1.367, allocations: 2.516 MB / 1.53 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.367, allocations: 8.031 kB / 1.53 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00448/1.372, allocations: 0.6989 MB / 1.53 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/1.376, allocations: 1.609 MB / 1.532 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/1.376, allocations: 217.8 kB / 1.532 GB, free: 118.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/1.377, allocations: 280 kB / 1.532 GB, free: 117.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007402/1.384, allocations: 4.606 MB / 1.537 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/1.384, allocations: 7.938 kB / 1.537 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/1.385, allocations: 124 kB / 1.537 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/1.385, allocations: 180.7 kB / 1.537 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/1.39, allocations: 3.753 MB / 1.541 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/1.41, allocations: 23.05 MB / 1.563 GB, free: 83.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.413, allocations: 1.578 MB / 1.565 GB, free: 82.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.413, allocations: 97.78 kB / 1.565 GB, free: 82 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/1.413, allocations: 43.12 kB / 1.565 GB, free: 81.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/1.413, allocations: 4 kB / 1.565 GB, free: 81.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75): time 0.004348/1.417, allocations: 3.541 MB / 1.568 GB, free: 78.37 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.417, allocations: 145 kB / 1.568 GB, free: 78.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/1.418, allocations: 0.9338 MB / 1.569 GB, free: 77.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/1.418, allocations: 37.7 kB / 1.569 GB, free: 77.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/1.419, allocations: 1.2 MB / 1.571 GB, free: 76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.419, allocations: 268.2 kB / 1.571 GB, free: 75.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/1.419, allocations: 31.94 kB / 1.571 GB, free: 75.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/1.419, allocations: 410.6 kB / 1.571 GB, free: 75.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/1.42, allocations: 0.7872 MB / 1.572 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.421, allocations: 1.279 MB / 1.573 GB, free: 73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.422, allocations: 0.9905 MB / 1.574 GB, free: 72.01 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.422, allocations: 4 kB / 1.574 GB, free: 72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002549/1.425, allocations: 2.156 MB / 1.576 GB, free: 69.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008128/1.425, allocations: 5.497 MB / 1.582 GB, free: 63.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.425, allocations: 16 kB / 1.582 GB, free: 63.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/1.425, allocations: 24 kB / 1.582 GB, free: 63.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.427, allocations: 411.3 kB / 1.582 GB, free: 63.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/1.427, allocations: 39.84 kB / 1.582 GB, free: 63.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.428, allocations: 251.3 kB / 1.582 GB, free: 63.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/1.429, allocations: 59.98 kB / 1.583 GB, free: 63.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.429, allocations: 4 kB / 1.583 GB, free: 63.12 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/1.431, allocations: 1.753 MB / 1.584 GB, free: 61.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.431, allocations: 16 kB / 1.584 GB, free: 61.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.431, allocations: 24 kB / 1.584 GB, free: 61.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.432, allocations: 359.4 kB / 1.585 GB, free: 60.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.432, allocations: 32.08 kB / 1.585 GB, free: 60.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.433, allocations: 179.4 kB / 1.585 GB, free: 60.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/1.433, allocations: 55.98 kB / 1.585 GB, free: 60.72 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002031/1.435, allocations: 1.172 MB / 1.586 GB, free: 59.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/1.435, allocations: 102.8 kB / 1.586 GB, free: 59.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/1.437, allocations: 1.514 MB / 1.588 GB, free: 57.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.437, allocations: 11.95 kB / 1.588 GB, free: 57.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.437, allocations: 4 kB / 1.588 GB, free: 57.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.437, allocations: 3.984 kB / 1.588 GB, free: 57.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008586/1.446, allocations: 7.261 MB / 1.595 GB, free: 50.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.446, allocations: 8 kB / 1.595 GB, free: 50.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/1.447, allocations: 264.1 kB / 1.595 GB, free: 50.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/1.447, allocations: 20 kB / 1.595 GB, free: 50.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/1.447, allocations: 24 kB / 1.595 GB, free: 50.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.447, allocations: 15.94 kB / 1.595 GB, free: 50.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.447, allocations: 15.94 kB / 1.595 GB, free: 50.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.449, allocations: 2.421 MB / 1.597 GB, free: 47.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007103/1.45, allocations: 379.5 kB / 1.598 GB, free: 46.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.45, allocations: 28 kB / 1.598 GB, free: 46.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/1.451, allocations: 135.8 kB / 1.598 GB, free: 46.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.451, allocations: 83.7 kB / 1.598 GB, free: 46.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/1.451, allocations: 28 kB / 1.598 GB, free: 46.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000754/1.452, allocations: 0.7064 MB / 1.599 GB, free: 45.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.452, allocations: 4.094 kB / 1.599 GB, free: 45.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002344/1.454, allocations: 0.828 MB / 1.6 GB, free: 45.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/1.454, allocations: 150.9 kB / 1.6 GB, free: 44.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.457, allocations: 2.641 MB / 1.602 GB, free: 42.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.457, allocations: 4.312 kB / 1.602 GB, free: 42.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008247/1.458, allocations: 0.7396 MB / 1.603 GB, free: 41.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.46, allocations: 257.4 kB / 1.603 GB, free: 41.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/1.467, allocations: 5.677 MB / 1.609 GB, free: 35.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.469, allocations: 2.163 MB / 1.611 GB, free: 33.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001938/1.471, allocations: 0.7422 MB / 1.612 GB, free: 32.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.471, allocations: 83.41 kB / 1.612 GB, free: 32.46 MB / 0.9167 GB Notification: Performance of SimCode: time 1.784e-06/1.471, allocations: 0 / 1.612 GB, free: 32.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.02354/1.495, allocations: 15.11 MB / 1.626 GB, free: 17.5 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches