Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001169/0.001169, allocations: 188.9 kB / 498.1 MB, free: 5.758 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.717/1.717, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009366/0.0009367, allocations: 102.2 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003902, allocations: 9.281 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3549, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.455, allocations: 191.1 MB / 1.41 GB, free: 75.2 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/1.455, allocations: 99.72 kB / 1.41 GB, free: 75.2 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2783/1.734, allocations: 108.6 MB / 1.516 GB, free: 47.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.755e-06/1.734, allocations: 0 / 1.516 GB, free: 47.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001706/1.734, allocations: 62.38 kB / 1.516 GB, free: 47.62 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.01029/1.744, allocations: 2.268 MB / 1.518 GB, free: 46.26 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.744, allocations: 11.75 kB / 1.518 GB, free: 46.26 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/1.75, allocations: 0.5945 MB / 1.519 GB, free: 45.99 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/1.755, allocations: 1.472 MB / 1.52 GB, free: 45.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/1.755, allocations: 211 kB / 1.52 GB, free: 45.43 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/1.757, allocations: 264.1 kB / 1.52 GB, free: 45.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.774, allocations: 4.272 MB / 1.525 GB, free: 44.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003212/1.774, allocations: 3.953 kB / 1.525 GB, free: 44.36 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/1.776, allocations: 118.9 kB / 1.525 GB, free: 44.35 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/1.776, allocations: 141.6 kB / 1.525 GB, free: 44.33 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/1.787, allocations: 3.657 MB / 1.528 GB, free: 43.79 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03548/1.823, allocations: 20.22 MB / 1.548 GB, free: 29.56 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/1.826, allocations: 1.88 MB / 1.55 GB, free: 28.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/1.827, allocations: 104.9 kB / 1.55 GB, free: 28.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.827, allocations: 46.06 kB / 1.55 GB, free: 28.46 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 3.426e-06/1.827, allocations: 0 / 1.55 GB, free: 28.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.02048/1.847, allocations: 5.341 MB / 1.555 GB, free: 26.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/1.847, allocations: 145.2 kB / 1.555 GB, free: 26.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.849, allocations: 0.8835 MB / 1.556 GB, free: 25.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/1.849, allocations: 42.55 kB / 1.556 GB, free: 25.92 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/1.85, allocations: 1.181 MB / 1.558 GB, free: 25.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/1.85, allocations: 330.1 kB / 1.558 GB, free: 24.78 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.85, allocations: 34.84 kB / 1.558 GB, free: 24.78 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000228/1.851, allocations: 400.9 kB / 1.558 GB, free: 24.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.852, allocations: 0.8595 MB / 1.559 GB, free: 24.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.854, allocations: 1.506 MB / 1.561 GB, free: 23.33 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/1.856, allocations: 1.183 MB / 1.562 GB, free: 23.13 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/1.856, allocations: 11.73 kB / 1.562 GB, free: 23.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003976/1.86, allocations: 2.495 MB / 1.564 GB, free: 22.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002339/1.863, allocations: 8.347 MB / 1.572 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/1.863, allocations: 22.84 kB / 1.572 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/1.863, allocations: 34.34 kB / 1.572 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.865, allocations: 0.5297 MB / 1.573 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/1.865, allocations: 43.27 kB / 1.573 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.867, allocations: 154.2 kB / 1.573 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/1.867, allocations: 90.61 kB / 1.573 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.867, allocations: 3.906 kB / 1.573 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00357/1.87, allocations: 2.396 MB / 1.576 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/1.871, allocations: 20 kB / 1.576 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/1.871, allocations: 35.95 kB / 1.576 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.873, allocations: 0.5186 MB / 1.576 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.602e-05/1.873, allocations: 47.8 kB / 1.576 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.874, allocations: 135.9 kB / 1.576 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.874, allocations: 87.97 kB / 1.576 GB, free: 10.97 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.002972/1.877, allocations: 1.218 MB / 1.578 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/1.878, allocations: 94.95 kB / 1.578 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/1.881, allocations: 1.86 MB / 1.579 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.881, allocations: 11.95 kB / 1.579 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.881, allocations: 4 kB / 1.579 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.881, allocations: 7.984 kB / 1.579 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.895, allocations: 9.007 MB / 1.588 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.895, allocations: 12.94 kB / 1.588 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.896, allocations: 259.5 kB / 1.589 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-05/1.896, allocations: 16 kB / 1.589 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.438e-05/1.897, allocations: 28 kB / 1.589 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.503e-05/1.897, allocations: 27.88 kB / 1.589 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/1.897, allocations: 15.94 kB / 1.589 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/1.899, allocations: 2.323 MB / 1.591 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/1.9, allocations: 339.7 kB / 1.591 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.9, allocations: 27.94 kB / 1.591 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/1.901, allocations: 75.89 kB / 1.591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.901, allocations: 91.66 kB / 1.591 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/1.901, allocations: 36 kB / 1.591 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001102/1.902, allocations: 0.7176 MB / 1.592 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.902, allocations: 0 / 1.592 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00358/1.906, allocations: 0.8749 MB / 1.593 GB, free: 8.449 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0004271/1.906, allocations: 190.6 kB / 1.593 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004795/1.911, allocations: 2.979 MB / 1.596 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.911, allocations: 0 / 1.596 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/1.912, allocations: 0.591 MB / 1.597 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.913, allocations: 150.2 kB / 1.597 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.923, allocations: 5.343 MB / 1.602 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.926, allocations: 2.145 MB / 1.604 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003006/1.929, allocations: 1.031 MB / 1.605 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.929, allocations: 91.42 kB / 1.605 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of SimCode: time 2.204e-06/1.929, allocations: 0 / 1.605 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of Templates: time 0.03036/1.96, allocations: 13.87 MB / 1.619 GB, free: 13.92 MB / 0.948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches