Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8035, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01678/0.8203, allocations: 14.86 MB / 0.968 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8317, allocations: 5.896 MB / 0.9738 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.8337, allocations: 43.06 kB / 0.9738 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8347, allocations: 328.5 kB / 0.9741 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.8375, allocations: 0.6223 MB / 0.9747 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.8408, allocations: 0.9032 MB / 0.9756 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.8443, allocations: 1.727 MB / 0.9773 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009706/0.854, allocations: 5.246 MB / 0.9824 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.856, allocations: 0.9346 MB / 0.9834 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.8575, allocations: 1.106 MB / 0.9844 GB, free: 424 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000298/0.8578, allocations: 163.9 kB / 0.9846 GB, free: 260 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009764/0.8588, allocations: 387.6 kB / 0.985 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.8598, allocations: 1.127 MB / 0.9861 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.8603, allocations: 0.5043 MB / 0.9866 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.8643, allocations: 4.615 MB / 0.9911 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8643, allocations: 0 / 0.9911 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8643, allocations: 0 / 0.9911 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.526e-05/0.8644, allocations: 0 / 0.9911 GB, free: 9.609 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004317/0.8687, allocations: 2.227 MB / 0.9932 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8688, allocations: 8.031 kB / 0.9932 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.8727, allocations: 0.8281 MB / 0.994 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.8759, allocations: 1.387 MB / 0.9954 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.876, allocations: 193.1 kB / 0.9956 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/0.8765, allocations: 251.9 kB / 0.9958 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008881/0.8854, allocations: 4.545 MB / 1 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.011e-05/0.8855, allocations: 7.938 kB / 1 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.8858, allocations: 115.9 kB / 1 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.8861, allocations: 176.2 kB / 1.001 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006653/0.8927, allocations: 3.804 MB / 1.004 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/0.9182, allocations: 21.44 MB / 1.025 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.9208, allocations: 2.249 MB / 1.027 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.9209, allocations: 15.98 kB / 1.027 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.9209, allocations: 42.5 kB / 1.027 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/0.9209, allocations: 4 kB / 1.027 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=68): time 0.006237/0.9272, allocations: 4.203 MB / 1.032 GB, free: 13.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.9274, allocations: 252.2 kB / 1.032 GB, free: 13.26 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.929, allocations: 1.1 MB / 1.033 GB, free: 12.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.9291, allocations: 45.7 kB / 1.033 GB, free: 12.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.93, allocations: 1.191 MB / 1.034 GB, free: 10.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.9303, allocations: 252.6 kB / 1.034 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.9304, allocations: 32 kB / 1.034 GB, free: 10.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.9307, allocations: 406.7 kB / 1.035 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.9318, allocations: 0.7065 MB / 1.035 GB, free: 9.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.9332, allocations: 1.391 MB / 1.037 GB, free: 7.75 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.9345, allocations: 0.9906 MB / 1.038 GB, free: 6.762 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.9345, allocations: 8 kB / 1.038 GB, free: 6.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003292/0.9378, allocations: 2.183 MB / 1.04 GB, free: 4.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.004152/0.942, allocations: 9.392 MB / 1.049 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-05/0.942, allocations: 24 kB / 1.049 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-05/0.9421, allocations: 36 kB / 1.049 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.9438, allocations: 435.2 kB / 1.05 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/0.9439, allocations: 47.8 kB / 1.05 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.9452, allocations: 199.2 kB / 1.05 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.9453, allocations: 87.97 kB / 1.05 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9454, allocations: 11.89 kB / 1.05 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002784/0.9482, allocations: 1.86 MB / 1.052 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.9482, allocations: 28 kB / 1.052 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.9482, allocations: 36 kB / 1.052 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.9494, allocations: 387.3 kB / 1.052 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.969e-05/0.9495, allocations: 47.84 kB / 1.052 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.9505, allocations: 139.4 kB / 1.052 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.9506, allocations: 79.98 kB / 1.052 GB, free: 7.047 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.002152/0.9528, allocations: 1.129 MB / 1.053 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.9532, allocations: 106.7 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.9549, allocations: 1.114 MB / 1.055 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.955, allocations: 8 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.955, allocations: 4 kB / 1.055 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.955, allocations: 3.984 kB / 1.055 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.9691, allocations: 10.27 MB / 1.065 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.9692, allocations: 20.06 kB / 1.065 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.9699, allocations: 188 kB / 1.065 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-05/0.9699, allocations: 24 kB / 1.065 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.97, allocations: 36 kB / 1.065 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-05/0.97, allocations: 39.8 kB / 1.065 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/0.97, allocations: 23.88 kB / 1.065 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.9727, allocations: 2.992 MB / 1.068 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.9734, allocations: 339.5 kB / 1.068 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.9735, allocations: 35.98 kB / 1.068 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/0.9745, allocations: 103.8 kB / 1.068 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9746, allocations: 95.55 kB / 1.069 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.9747, allocations: 40 kB / 1.069 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001001/0.9757, allocations: 0.762 MB / 1.069 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9757, allocations: 0 / 1.069 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002871/0.9786, allocations: 0.7266 MB / 1.07 GB, free: 4.074 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002248/0.9788, allocations: 150.9 kB / 1.07 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.9823, allocations: 2.496 MB / 1.073 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.9824, allocations: 4 kB / 1.073 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.9831, allocations: 0.5815 MB / 1.073 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.9845, allocations: 223 kB / 1.073 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.9925, allocations: 5.309 MB / 1.079 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.9946, allocations: 2.042 MB / 1.081 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002061/0.9966, allocations: 0.8482 MB / 1.081 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.9969, allocations: 83.42 kB / 1.081 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of SimCode: time 1.022e-06/0.9969, allocations: 0 / 1.081 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.02478/1.022, allocations: 13.48 MB / 1.095 GB, free: 10.69 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches