Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.001311/0.00131, allocations: 100.5 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.001476/0.001476, 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.402/2.402, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005376, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.817, allocations: 142.3 MB / 0.9536 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006841/0.8239, allocations: 4.614 MB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006595/0.8305, allocations: 3.753 MB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008824/0.8314, allocations: 15.16 kB / 0.9618 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.8319, allocations: 93.17 kB / 0.9619 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.8338, allocations: 445.1 kB / 0.9623 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.8356, allocations: 425.2 kB / 0.9627 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.8373, allocations: 0.6525 MB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.8389, allocations: 0.671 MB / 0.964 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.8399, allocations: 330.2 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.8412, allocations: 381.2 kB / 0.9647 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.8415, allocations: 35.09 kB / 0.9647 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.8433, allocations: 467.5 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/0.8438, allocations: 272.3 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.8443, allocations: 160.4 kB / 0.9656 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.8465, allocations: 1.008 MB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8466, allocations: 5 kB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8466, allocations: 0 / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.754e-05/0.8466, allocations: 0 / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003352/0.85, allocations: 1.027 MB / 0.9676 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.8501, allocations: 9.594 kB / 0.9676 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002613/0.8503, allocations: 121.5 kB / 0.9677 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.8611, allocations: 1.737 MB / 0.9694 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.8633, allocations: 0.5996 MB / 0.97 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.8635, allocations: 49.22 kB / 0.97 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/0.8639, allocations: 58.52 kB / 0.9701 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.8704, allocations: 1.898 MB / 0.9719 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.8705, allocations: 9.656 kB / 0.9719 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.8707, allocations: 36.2 kB / 0.972 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.8711, allocations: 150.8 kB / 0.9721 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008862/0.88, allocations: 2.607 MB / 0.9746 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.8948, allocations: 6.64 MB / 0.9811 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.8986, allocations: 1.253 MB / 0.9824 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00327/0.9019, allocations: 1.461 MB / 0.9838 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.874e-05/0.902, allocations: 46.55 kB / 0.9838 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 7.595e-06/0.9021, allocations: 7.984 kB / 0.9838 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75): time 0.01548/0.9175, allocations: 4.672 MB / 0.9884 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.9177, allocations: 85.11 kB / 0.9885 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.9187, allocations: 0.5808 MB / 0.989 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9188, allocations: 37.7 kB / 0.9891 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.9192, allocations: 414.5 kB / 0.9895 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.9195, allocations: 268.2 kB / 0.9897 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.9196, allocations: 20 kB / 0.9898 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.9198, allocations: 382.8 kB / 0.9901 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.9224, allocations: 0.8689 MB / 0.991 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.9253, allocations: 1.198 MB / 0.9921 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.9282, allocations: 0.9689 MB / 0.9931 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.9282, allocations: 4 kB / 0.9931 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007539/0.9357, allocations: 2.598 MB / 0.9956 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.00173/0.9375, allocations: 4.01 MB / 0.9995 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.9375, allocations: 8 kB / 0.9995 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.9397, allocations: 0.5439 MB / 1 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.9418, allocations: 427.3 kB / 1 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008162/0.95, allocations: 5.272 MB / 1.006 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.9524, allocations: 275.5 kB / 1.006 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.9527, allocations: 55.97 kB / 1.006 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9527, allocations: 4 kB / 1.006 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006896/0.9596, allocations: 2.288 MB / 1.008 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.9597, allocations: 8 kB / 1.008 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008324/0.9606, allocations: 273.6 kB / 1.008 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.9626, allocations: 447.2 kB / 1.009 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.9678, allocations: 4.253 MB / 1.013 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.9699, allocations: 267.6 kB / 1.013 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.9701, allocations: 56.06 kB / 1.013 GB, free: 1.246 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (111): * Single equations (assignments): 109 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007795/0.9709, allocations: 364.7 kB / 1.014 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.9712, allocations: 71.16 kB / 1.014 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/0.9785, allocations: 2.414 MB / 1.016 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9785, allocations: 8 kB / 1.016 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.9785, allocations: 8 kB / 1.016 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9786, allocations: 7.922 kB / 1.016 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009563/0.9881, allocations: 3.742 MB / 1.02 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.9882, allocations: 4 kB / 1.02 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.9898, allocations: 335.9 kB / 1.02 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.9915, allocations: 485.1 kB / 1.021 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.9916, allocations: 27.97 kB / 1.021 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.9982, allocations: 5.049 MB / 1.026 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.9983, allocations: 16.45 kB / 1.026 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/1.006, allocations: 2.605 MB / 1.028 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/1.006, allocations: 292 kB / 1.028 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/1.007, allocations: 19.98 kB / 1.028 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.009, allocations: 275.7 kB / 1.029 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.009, allocations: 75.73 kB / 1.029 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.009, allocations: 31.92 kB / 1.029 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006629/1.01, allocations: 410.8 kB / 1.029 GB, free: 476 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.01, allocations: 0 / 1.029 GB, free: 476 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002512/1.012, allocations: 460 kB / 1.03 GB, free: 16 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (56): * Single equations (assignments): 54 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007852/1.02, allocations: 4.24 MB / 1.034 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.032, allocations: 3.809 MB / 1.037 GB, free: 7.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.032, allocations: 5.5 kB / 1.037 GB, free: 7.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003705/1.035, allocations: 1.318 MB / 1.039 GB, free: 6.434 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.036, allocations: 132 kB / 1.039 GB, free: 6.309 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/1.065, allocations: 15.12 MB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009314/1.066, allocations: 1.043 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002186/1.069, allocations: 0.5177 MB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/1.069, allocations: 271.3 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of SimCode: time 1.343e-06/1.069, allocations: 0 / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/1.119, allocations: 22.99 MB / 1.078 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.119, allocations: 246.5 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.369, allocations: 0 / 1.078 GB, free: 14 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat