Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.1-maint.9.1.x/package.mo", uses=false) 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) 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 98.92 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.00133/0.00133, 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005334, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8294, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.017/0.8465, allocations: 15.18 MB / 0.9684 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.8585, allocations: 5.713 MB / 0.974 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.8609, allocations: 34.44 kB / 0.974 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.8629, allocations: 339.4 kB / 0.9744 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.8667, allocations: 0.6196 MB / 0.975 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.8706, allocations: 0.6412 MB / 0.9756 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004489/0.8751, allocations: 1.77 MB / 0.9773 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.886, allocations: 5.921 MB / 0.9831 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.8885, allocations: 1.055 MB / 0.9841 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.8912, allocations: 1.242 MB / 0.9853 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009116/0.8922, allocations: 191.9 kB / 0.9855 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.8944, allocations: 0.5813 MB / 0.9861 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.8967, allocations: 1.329 MB / 0.9874 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.8981, allocations: 0.5512 MB / 0.9879 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.9048, allocations: 5.348 MB / 0.9931 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9048, allocations: 0 / 0.9931 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.327e-06/0.9049, allocations: 0 / 0.9931 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002123/0.9051, allocations: 0 / 0.9931 GB, free: 7.531 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.007318/0.9124, allocations: 2.424 MB / 0.9955 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.9125, allocations: 16.03 kB / 0.9955 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/0.9144, allocations: 450.1 kB / 0.996 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.9261, allocations: 2.072 MB / 0.998 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.9314, allocations: 1.595 MB / 0.9995 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.9317, allocations: 221.9 kB / 0.9998 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.9331, allocations: 291.9 kB / 1 GB, free: 364 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.951, allocations: 5.718 MB / 1.006 GB, free: 10.54 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.9512, allocations: 4 kB / 1.006 GB, free: 10.54 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.9522, allocations: 124 kB / 1.006 GB, free: 10.41 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003771/0.9526, allocations: 196.9 kB / 1.006 GB, free: 10.22 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.9676, allocations: 5.799 MB / 1.012 GB, free: 4.406 MB / 0.7638 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03529/1.003, allocations: 23.02 MB / 1.034 GB, free: 11.33 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/1.009, allocations: 2.655 MB / 1.037 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/1.009, allocations: 122 kB / 1.037 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.009, allocations: 51.5 kB / 1.037 GB, free: 8.355 MB / 0.795 GB Notification: Performance of pre-optimization done (n=116): time 3.055e-06/1.009, allocations: 0 / 1.037 GB, free: 8.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=116): time 0.01546/1.025, allocations: 5.187 MB / 1.042 GB, free: 3.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.025, allocations: 227.3 kB / 1.042 GB, free: 2.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.027, allocations: 1.043 MB / 1.043 GB, free: 1.766 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/1.027, allocations: 45.7 kB / 1.043 GB, free: 1.715 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009328/1.028, allocations: 1.234 MB / 1.044 GB, free: 472 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/1.028, allocations: 418.2 kB / 1.045 GB, free: 48 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.029, allocations: 36 kB / 1.045 GB, free: 12 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002783/1.029, allocations: 426.7 kB / 1.045 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/1.033, allocations: 1.631 MB / 1.047 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004926/1.038, allocations: 2.301 MB / 1.049 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/1.043, allocations: 1.915 MB / 1.051 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-05/1.043, allocations: 8 kB / 1.051 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.01189/1.055, allocations: 4.39 MB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00361/1.059, allocations: 8.613 MB / 1.064 GB, free: 11.73 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/1.059, allocations: 23.95 kB / 1.064 GB, free: 11.71 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/1.06, allocations: 458.1 kB / 1.064 GB, free: 11.26 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/1.064, allocations: 0.7526 MB / 1.065 GB, free: 10.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/1.071, allocations: 6.545 MB / 1.071 GB, free: 3.559 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.075, allocations: 0.5792 MB / 1.072 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004886/1.075, allocations: 104 kB / 1.072 GB, free: 2.875 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.075, allocations: 4.938 kB / 1.072 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/1.086, allocations: 4.257 MB / 1.076 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/1.087, allocations: 20.06 kB / 1.076 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/1.087, allocations: 350.3 kB / 1.076 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.091, allocations: 0.7488 MB / 1.077 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/1.097, allocations: 6.353 MB / 1.083 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/1.1, allocations: 0.5174 MB / 1.084 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/1.101, allocations: 112 kB / 1.084 GB, free: 6.098 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (223): * Single equations (assignments): 220 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002748/1.104, allocations: 1.246 MB / 1.085 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/1.104, allocations: 110.7 kB / 1.085 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.114, allocations: 3.618 MB / 1.089 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.114, allocations: 16 kB / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.114, allocations: 4 kB / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.114, allocations: 11.94 kB / 1.089 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.13, allocations: 6.984 MB / 1.096 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.13, allocations: 8.562 kB / 1.096 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.133, allocations: 0.5108 MB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.134, allocations: 355.1 kB / 1.097 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/1.134, allocations: 47.95 kB / 1.097 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/1.141, allocations: 6.408 MB / 1.103 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.141, allocations: 8 kB / 1.103 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009764/1.151, allocations: 3.856 MB / 1.107 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.152, allocations: 475.3 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/1.152, allocations: 31.92 kB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.155, allocations: 391.3 kB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.155, allocations: 92.72 kB / 1.108 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.155, allocations: 55.95 kB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001403/1.157, allocations: 0.7371 MB / 1.108 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/1.157, allocations: 0 / 1.108 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00559/1.162, allocations: 1.423 MB / 1.11 GB, free: 10.88 MB / 0.8731 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 (92): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/1.173, allocations: 5.9 MB / 1.115 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.191, allocations: 6.515 MB / 1.122 GB, free: 14.23 MB / 0.8888 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.191, allocations: 4.062 kB / 1.122 GB, free: 14.22 MB / 0.8888 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/1.196, allocations: 2.064 MB / 1.124 GB, free: 12.12 MB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.197, allocations: 145.1 kB / 1.124 GB, free: 11.98 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/1.247, allocations: 31.04 MB / 1.154 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.25, allocations: 2.242 MB / 1.156 GB, free: 9.922 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00449/1.254, allocations: 1.236 MB / 1.158 GB, free: 8.684 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.256, allocations: 0.8351 MB / 1.158 GB, free: 7.848 MB / 0.92 GB Notification: Performance of SimCode: time 2.455e-06/1.256, allocations: 3.938 kB / 1.158 GB, free: 7.844 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06924/1.326, allocations: 39.14 MB / 1.197 GB, free: 0.9805 MB / 0.9513 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/1.326, allocations: 232.1 kB / 1.197 GB, free: 0.7383 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.763, allocations: 0 / 1.197 GB, free: 0.7383 MB / 0.9513 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat