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.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.TransformerDD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.001065/0.001065, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001266/0.001266, allocations: 172.7 kB / 15.95 MB, free: 208 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.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.23 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.48/2.48, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8794, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01475/0.8942, allocations: 14.28 MB / 0.9678 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.9041, allocations: 5.418 MB / 0.9731 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.9061, allocations: 33.84 kB / 0.9731 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.9072, allocations: 271.2 kB / 0.9734 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.9101, allocations: 0.7561 MB / 0.9741 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.9124, allocations: 0.5894 MB / 0.9747 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006405/0.9188, allocations: 4.594 MB / 0.9792 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008417/0.9272, allocations: 5.413 MB / 0.9845 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.9298, allocations: 1.226 MB / 0.9857 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.9326, allocations: 1.768 MB / 0.9874 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.933, allocations: 180 kB / 0.9876 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.9346, allocations: 0.5892 MB / 0.9881 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.936, allocations: 1.341 MB / 0.9895 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007472/0.9367, allocations: 0.5122 MB / 0.99 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.9419, allocations: 4.981 MB / 0.9948 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9419, allocations: 0 / 0.9948 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9419, allocations: 0 / 0.9948 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001416/0.9421, allocations: 0 / 0.9948 GB, free: 6.031 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.005144/0.9472, allocations: 2.317 MB / 0.9971 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.9473, allocations: 12.03 kB / 0.9971 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007718/0.9481, allocations: 420.6 kB / 0.9975 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00923/0.9573, allocations: 1.994 MB / 0.9994 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.9612, allocations: 1.51 MB / 1.001 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.9614, allocations: 205.5 kB / 1.001 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000838/0.9622, allocations: 271.9 kB / 1.001 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.9745, allocations: 5.435 MB / 1.007 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.9746, allocations: 7.922 kB / 1.007 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/0.9749, allocations: 112 kB / 1.007 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/0.9752, allocations: 196.5 kB / 1.007 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.9877, allocations: 5.669 MB / 1.013 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/1.011, allocations: 21.27 MB / 1.033 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005058/1.017, allocations: 3 MB / 1.036 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004476/1.021, allocations: 2.118 MB / 1.038 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.021, allocations: 114.1 kB / 1.038 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/1.021, allocations: 59.48 kB / 1.038 GB, free: 7.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=139): time 3.226e-06/1.021, allocations: 0 / 1.038 GB, free: 7.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=181): time 0.03507/1.056, allocations: 12.93 MB / 1.051 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.057, allocations: 234.9 kB / 1.051 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.058, allocations: 0.9687 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/1.058, allocations: 57.7 kB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006582/1.059, allocations: 1.104 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006645/1.059, allocations: 0.6122 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.06, allocations: 48 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002466/1.06, allocations: 439.2 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004392/1.064, allocations: 1.901 MB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.069, allocations: 2.486 MB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/1.074, allocations: 2.223 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.074, allocations: 8 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01167/1.085, allocations: 5.478 MB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005719/1.086, allocations: 0.6018 MB / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/1.086, allocations: 24 kB / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/1.089, allocations: 1.22 MB / 1.068 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/1.092, allocations: 0.7487 MB / 1.069 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.106, allocations: 10.5 MB / 1.079 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.109, allocations: 467 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/1.109, allocations: 112 kB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.109, allocations: 7.938 kB / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01144/1.12, allocations: 5.321 MB / 1.085 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.008e-05/1.121, allocations: 16 kB / 1.085 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/1.123, allocations: 0.954 MB / 1.086 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/1.126, allocations: 0.7448 MB / 1.086 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.139, allocations: 10.32 MB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/1.141, allocations: 443.2 kB / 1.097 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.142, allocations: 115.9 kB / 1.097 GB, free: 9.793 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,83.3%) 30,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002334/1.144, allocations: 1.215 MB / 1.098 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.145, allocations: 130.5 kB / 1.098 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.156, allocations: 5.205 MB / 1.103 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.156, allocations: 20 kB / 1.103 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.156, allocations: 12 kB / 1.103 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/1.156, allocations: 11.97 kB / 1.104 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.171, allocations: 8.851 MB / 1.112 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.171, allocations: 12 kB / 1.112 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.173, allocations: 0.5388 MB / 1.113 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/1.176, allocations: 0.9658 MB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.176, allocations: 59.95 kB / 1.114 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.188, allocations: 9.948 MB / 1.123 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.188, allocations: 20.05 kB / 1.123 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009874/1.198, allocations: 4.822 MB / 1.128 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.199, allocations: 0.5306 MB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.199, allocations: 40 kB / 1.129 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.201, allocations: 403.3 kB / 1.129 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/1.202, allocations: 168.8 kB / 1.129 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.202, allocations: 67.91 kB / 1.129 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00104/1.203, allocations: 0.7176 MB / 1.13 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.203, allocations: 0 / 1.13 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003817/1.207, allocations: 1.184 MB / 1.131 GB, free: 6.223 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(7,63.3%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/1.217, allocations: 5.425 MB / 1.136 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.236, allocations: 8.124 MB / 1.144 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.237, allocations: 0 / 1.144 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/1.243, allocations: 2.666 MB / 1.147 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.244, allocations: 206.5 kB / 1.147 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/1.286, allocations: 18.17 MB / 1.165 GB, free: 2.836 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/1.289, allocations: 2.236 MB / 1.167 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003979/1.293, allocations: 1.292 MB / 1.168 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.294, allocations: 0.8116 MB / 1.169 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of SimCode: time 1.322e-06/1.294, allocations: 0 / 1.169 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08934/1.384, allocations: 51.66 MB / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.384, allocations: 244 kB / 1.22 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.16, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat does not exist to compare? outputFormat=mat