Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_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.001477/0.001477, 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.00191/0.00191, 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 2.408/2.408, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.242/4.242, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005309, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354/1.355, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.01031/1.365, allocations: 4.623 MB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01021/1.375, allocations: 3.756 MB / 0.9891 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008877/1.376, allocations: 19.81 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004753/1.377, allocations: 87.42 kB / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/1.379, allocations: 438.6 kB / 0.9896 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/1.381, allocations: 429.4 kB / 0.99 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002181/1.383, allocations: 0.6528 MB / 0.9906 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/1.385, allocations: 0.6563 MB / 0.9913 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/1.386, allocations: 338.8 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/1.387, allocations: 374.6 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.387, allocations: 36 kB / 0.992 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/1.389, allocations: 463.3 kB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004574/1.39, allocations: 271.2 kB / 0.9927 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002709/1.39, allocations: 161.3 kB / 0.9928 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/1.392, allocations: 1.015 MB / 0.9938 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.392, allocations: 4 kB / 0.9938 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.096e-06/1.392, allocations: 0 / 0.9938 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.306e-05/1.392, allocations: 0 / 0.9938 GB, free: 8.945 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00339/1.396, allocations: 1.017 MB / 0.9948 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.396, allocations: 15.97 kB / 0.9948 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002905/1.396, allocations: 122.5 kB / 0.9949 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/1.413, allocations: 1.742 MB / 0.9967 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/1.416, allocations: 0.5992 MB / 0.9972 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/1.416, allocations: 45.28 kB / 0.9973 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/1.416, allocations: 67.84 kB / 0.9973 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008109/1.424, allocations: 1.901 MB / 0.9992 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/1.424, allocations: 4 kB / 0.9992 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/1.424, allocations: 27.97 kB / 0.9992 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005774/1.425, allocations: 153.4 kB / 0.9994 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/1.439, allocations: 2.605 MB / 1.002 GB, free: 492 kB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/1.457, allocations: 6.645 MB / 1.008 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/1.462, allocations: 1.254 MB / 1.01 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004071/1.466, allocations: 1.469 MB / 1.011 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/1.466, allocations: 46.55 kB / 1.011 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 4.88e-06/1.467, allocations: 0 / 1.011 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75): time 0.02546/1.492, allocations: 4.674 MB / 1.016 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/1.492, allocations: 85.11 kB / 1.016 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.493, allocations: 0.5731 MB / 1.016 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002536/1.494, allocations: 37.7 kB / 1.016 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/1.494, allocations: 418.5 kB / 1.017 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004857/1.495, allocations: 264.2 kB / 1.017 GB, free: 488 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.495, allocations: 20 kB / 1.017 GB, free: 468 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0003573/1.495, allocations: 382.8 kB / 1.017 GB, free: 76 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/1.5, allocations: 0.8728 MB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/1.505, allocations: 1.198 MB / 1.019 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/1.509, allocations: 0.954 MB / 1.02 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.509, allocations: 0 / 1.02 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01315/1.523, allocations: 2.602 MB / 1.023 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.00283/1.525, allocations: 4.008 MB / 1.027 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/1.526, allocations: 16 kB / 1.027 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/1.529, allocations: 0.5439 MB / 1.027 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/1.533, allocations: 431.2 kB / 1.028 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.546, allocations: 5.272 MB / 1.033 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/1.55, allocations: 271.6 kB / 1.033 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.55, allocations: 55.97 kB / 1.033 GB, free: 15.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.55, allocations: 4 kB / 1.033 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01079/1.561, allocations: 2.3 MB / 1.035 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/1.561, allocations: 8 kB / 1.035 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.562, allocations: 277.6 kB / 1.036 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.565, allocations: 443.2 kB / 1.036 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/1.573, allocations: 4.248 MB / 1.04 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.577, allocations: 267.6 kB / 1.041 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.577, allocations: 56.34 kB / 1.041 GB, free: 7.254 MB / 0.795 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.001014/1.578, allocations: 360.1 kB / 1.041 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/1.578, allocations: 79.05 kB / 1.041 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.591, allocations: 2.409 MB / 1.043 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.591, allocations: 11.94 kB / 1.043 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.591, allocations: 11.98 kB / 1.043 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.591, allocations: 0 / 1.043 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/1.606, allocations: 3.734 MB / 1.047 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.606, allocations: 4 kB / 1.047 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.609, allocations: 347.8 kB / 1.047 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/1.612, allocations: 477.7 kB / 1.048 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/1.612, allocations: 31.97 kB / 1.048 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.623, allocations: 5.049 MB / 1.053 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.623, allocations: 11.98 kB / 1.053 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.635, allocations: 2.609 MB / 1.055 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.636, allocations: 284 kB / 1.056 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/1.636, allocations: 23.98 kB / 1.056 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.639, allocations: 271.6 kB / 1.056 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/1.64, allocations: 67.81 kB / 1.056 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.64, allocations: 36.06 kB / 1.056 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009311/1.641, allocations: 406.8 kB / 1.056 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/1.641, allocations: 0 / 1.056 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003544/1.644, allocations: 464 kB / 1.057 GB, free: 6.035 MB / 0.8106 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.01375/1.658, allocations: 4.248 MB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01804/1.676, allocations: 3.807 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.391e-05/1.676, allocations: 5.484 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005732/1.682, allocations: 1.322 MB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.684, allocations: 124.8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/1.729, allocations: 15.11 MB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.731, allocations: 1.035 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003953/1.734, allocations: 0.5216 MB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/1.735, allocations: 276.6 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of SimCode: time 1.863e-06/1.735, allocations: 0 / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09074/1.826, allocations: 22.98 MB / 1.105 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004217/1.827, allocations: 260.4 kB / 1.105 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/6.396, allocations: 2.344 kB / 1.105 GB, free: 4.035 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat