Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.Conversion.Examples.TransformerDD,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.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.78 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.001271/0.001271, allocations: 177.3 kB / 15.95 MB, free: 216 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.578/2.578, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004508, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.9149, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01466/0.9296, allocations: 13.93 MB / 0.9671 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008862/0.9385, allocations: 5.368 MB / 0.9724 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.9399, allocations: 34.47 kB / 0.9724 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.9411, allocations: 296.7 kB / 0.9727 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.9435, allocations: 0.6048 MB / 0.9733 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.9456, allocations: 0.623 MB / 0.9739 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.9484, allocations: 1.693 MB / 0.9755 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009006/0.9574, allocations: 5.411 MB / 0.9808 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.9595, allocations: 0.993 MB / 0.9818 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.9619, allocations: 1.168 MB / 0.9829 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.9627, allocations: 176 kB / 0.9831 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.9651, allocations: 0.5696 MB / 0.9837 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.9668, allocations: 1.244 MB / 0.9849 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.9676, allocations: 0.5122 MB / 0.9854 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.9728, allocations: 4.966 MB / 0.9902 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9728, allocations: 0 / 0.9902 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9728, allocations: 0 / 0.9902 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001745/0.973, allocations: 0 / 0.9902 GB, free: 10.45 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006127/0.9791, allocations: 2.314 MB / 0.9925 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9792, allocations: 8.031 kB / 0.9925 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.9905, allocations: 2.057 MB / 0.9945 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.9942, allocations: 1.518 MB / 0.996 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.9943, allocations: 197.5 kB / 0.9962 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/0.995, allocations: 264 kB / 0.9964 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/1.006, allocations: 5.424 MB / 1.002 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/1.006, allocations: 0 / 1.002 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/1.007, allocations: 112 kB / 1.002 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003013/1.007, allocations: 212.4 kB / 1.002 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/1.02, allocations: 5.669 MB / 1.008 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/1.047, allocations: 21.27 MB / 1.028 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/1.052, allocations: 2.996 MB / 1.031 GB, free: 14.19 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.053, allocations: 126 kB / 1.031 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/1.053, allocations: 47.56 kB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=139): time 2.815e-06/1.053, allocations: 4 kB / 1.031 GB, free: 13.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=139): time 0.01791/1.071, allocations: 6.046 MB / 1.037 GB, free: 7.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/1.071, allocations: 230.6 kB / 1.038 GB, free: 7.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.072, allocations: 0.9687 MB / 1.038 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/1.072, allocations: 49.7 kB / 1.039 GB, free: 6.605 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/1.073, allocations: 1.095 MB / 1.04 GB, free: 5.492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004431/1.073, allocations: 489 kB / 1.04 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.073, allocations: 40 kB / 1.04 GB, free: 4.969 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.074, allocations: 418.7 kB / 1.041 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.078, allocations: 1.682 MB / 1.042 GB, free: 2.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/1.082, allocations: 2.231 MB / 1.044 GB, free: 412 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/1.087, allocations: 1.954 MB / 1.046 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.087, allocations: 4 kB / 1.046 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01072/1.098, allocations: 4.509 MB / 1.051 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.002025/1.1, allocations: 6.697 MB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.1, allocations: 20 kB / 1.057 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/1.101, allocations: 0.614 MB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/1.105, allocations: 0.7409 MB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/1.112, allocations: 5.135 MB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/1.116, allocations: 0.5559 MB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.116, allocations: 107.9 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/1.116, allocations: 3.938 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01015/1.126, allocations: 4.349 MB / 1.068 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/1.126, allocations: 16.12 kB / 1.068 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009196/1.127, allocations: 432.8 kB / 1.069 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/1.13, allocations: 0.7332 MB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00596/1.136, allocations: 4.98 MB / 1.074 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.139, allocations: 0.5022 MB / 1.075 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/1.14, allocations: 95.95 kB / 1.075 GB, free: 132 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (213): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001812/1.142, allocations: 1.172 MB / 1.076 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/1.142, allocations: 118.6 kB / 1.076 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009929/1.152, allocations: 4.059 MB / 1.08 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/1.152, allocations: 19.98 kB / 1.08 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.152, allocations: 8 kB / 1.08 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.152, allocations: 11.97 kB / 1.08 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.167, allocations: 7.239 MB / 1.087 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.167, allocations: 4 kB / 1.087 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.17, allocations: 0.5342 MB / 1.088 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/1.171, allocations: 448.6 kB / 1.088 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.171, allocations: 47.95 kB / 1.088 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006714/1.178, allocations: 5.011 MB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.178, allocations: 11.94 kB / 1.093 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.188, allocations: 4.082 MB / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.189, allocations: 0.4953 MB / 1.098 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/1.189, allocations: 27.98 kB / 1.098 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/1.192, allocations: 383.4 kB / 1.098 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.192, allocations: 108.7 kB / 1.098 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.192, allocations: 59.95 kB / 1.098 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001099/1.193, allocations: 0.7137 MB / 1.099 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.193, allocations: 4 kB / 1.099 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004061/1.197, allocations: 1.393 MB / 1.1 GB, free: 5.648 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/1.198, allocations: 139 kB / 1.1 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01694/1.215, allocations: 6.454 MB / 1.107 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.215, allocations: 0 / 1.107 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005303/1.22, allocations: 1.967 MB / 1.109 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.221, allocations: 154.1 kB / 1.109 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.241, allocations: 7.47 MB / 1.116 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.243, allocations: 2.154 MB / 1.118 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003919/1.247, allocations: 1.263 MB / 1.119 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/1.248, allocations: 127.3 kB / 1.12 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of SimCode: time 1.098e-05/1.248, allocations: 0 / 1.12 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of Templates: time 0.04188/1.29, allocations: 24.52 MB / 1.144 GB, free: 9.273 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches