Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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.001924/0.001924, allocations: 100.1 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.002317/0.002317, 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 2.281/2.281, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.388/4.388, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006952/0.0006954, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452/1.452, allocations: 146.8 MB / 0.9809 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.007165/1.46, allocations: 2.902 MB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006192/1.466, allocations: 1.979 MB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/1.467, allocations: 4 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003885/1.467, allocations: 35.75 kB / 0.9857 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/1.468, allocations: 159.5 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/1.47, allocations: 214.3 kB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000717/1.471, allocations: 223.5 kB / 0.9862 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/1.472, allocations: 329.3 kB / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/1.473, allocations: 103.6 kB / 0.9867 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/1.473, allocations: 119.6 kB / 0.9868 GB, free: 248 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/1.473, allocations: 15.94 kB / 0.9868 GB, free: 232 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/1.474, allocations: 259.6 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/1.475, allocations: 75.8 kB / 0.9871 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/1.475, allocations: 73.58 kB / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000869/1.476, allocations: 375 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.476, allocations: 4 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of FrontEnd: time 6.933e-06/1.476, allocations: 4 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.476, allocations: 0 / 0.9875 GB, free: 15.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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001788/1.477, allocations: 0.5664 MB / 0.9881 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.273e-05/1.478, allocations: 8.031 kB / 0.9881 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/1.478, allocations: 66.53 kB / 0.9882 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/1.48, allocations: 131.5 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/1.48, allocations: 270.5 kB / 0.9886 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.48, allocations: 16.44 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/1.48, allocations: 27.94 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.482, allocations: 415.5 kB / 0.989 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.482, allocations: 0 / 0.989 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/1.482, allocations: 4 kB / 0.989 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.482, allocations: 36.53 kB / 0.989 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.483, allocations: 365.8 kB / 0.9894 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/1.488, allocations: 2.05 MB / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/1.489, allocations: 349.7 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/1.49, allocations: 89.23 kB / 0.9918 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.49, allocations: 38.69 kB / 0.9918 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 4.729e-06/1.49, allocations: 0 / 0.9918 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.006836/1.497, allocations: 1.281 MB / 0.9931 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.497, allocations: 81.34 kB / 0.9932 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/1.497, allocations: 237 kB / 0.9934 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/1.498, allocations: 37.64 kB / 0.9934 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.498, allocations: 183.9 kB / 0.9936 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/1.498, allocations: 94.64 kB / 0.9937 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/1.498, allocations: 8 kB / 0.9937 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004402/1.499, allocations: 338.8 kB / 0.994 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/1.499, allocations: 167.9 kB / 0.9942 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/1.5, allocations: 271.8 kB / 0.9944 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/1.501, allocations: 208.5 kB / 0.9946 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.501, allocations: 0 / 0.9946 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002254/1.503, allocations: 0.5457 MB / 0.9952 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009594/1.504, allocations: 1.138 MB / 0.9963 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.504, allocations: 7.938 kB / 0.9963 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/1.505, allocations: 77.67 kB / 0.9964 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/1.506, allocations: 99.86 kB / 0.9965 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/1.509, allocations: 1.977 MB / 0.9984 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/1.51, allocations: 40.03 kB / 0.9984 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/1.51, allocations: 12 kB / 0.9984 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.51, allocations: 4 kB / 0.9984 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002246/1.512, allocations: 0.5171 MB / 0.999 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.512, allocations: 4 kB / 0.999 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/1.513, allocations: 69.67 kB / 0.999 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/1.513, allocations: 96.03 kB / 0.9991 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/1.514, allocations: 0.5523 MB / 0.9997 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/1.515, allocations: 31.97 kB / 0.9997 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/1.515, allocations: 16 kB / 0.9997 GB, free: 2.195 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005038/1.515, allocations: 249.1 kB / 0.9999 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.515, allocations: 23.72 kB / 1 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/1.518, allocations: 497.8 kB / 1 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.518, allocations: 7.938 kB / 1 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.518, allocations: 0 / 1 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.518, allocations: 4 kB / 1 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/1.521, allocations: 1.044 MB / 1.001 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.521, allocations: 0 / 1.001 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.522, allocations: 67.89 kB / 1.002 GB, free: 220 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/1.523, allocations: 77.66 kB / 1.002 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/1.523, allocations: 12.22 kB / 1.002 GB, free: 124 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/1.525, allocations: 1.981 MB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.525, allocations: 7.984 kB / 1.004 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/1.527, allocations: 0.7463 MB / 1.004 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/1.528, allocations: 128.8 kB / 1.004 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.528, allocations: 15.98 kB / 1.004 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/1.529, allocations: 35.97 kB / 1.004 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.529, allocations: 27.92 kB / 1.004 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/1.529, allocations: 11.94 kB / 1.004 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004376/1.53, allocations: 168.5 kB / 1.005 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.71e-07/1.53, allocations: 0 / 1.005 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001669/1.531, allocations: 132 kB / 1.005 GB, free: 12.6 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 25 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003536/1.535, allocations: 1.855 MB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003282/1.538, allocations: 0.8492 MB / 1.007 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.538, allocations: 0 / 1.007 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.539, allocations: 331.2 kB / 1.008 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/1.54, allocations: 53.45 kB / 1.008 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/1.548, allocations: 3.791 MB / 1.011 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/1.549, allocations: 0.8002 MB / 1.012 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000709/1.55, allocations: 106.9 kB / 1.012 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.55, allocations: 83.41 kB / 1.012 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of SimCode: time 1.463e-06/1.55, allocations: 0 / 1.012 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/1.593, allocations: 6.528 MB / 1.019 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007049/1.594, allocations: 250.4 kB / 1.019 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/5.543, allocations: 0 / 1.019 GB, free: 13.86 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat