Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.001548/0.001548, allocations: 99.08 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.002193/0.002193, 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.331/2.331, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.177/4.177, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.282, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.007498/1.289, allocations: 2.387 MB / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004822/1.294, allocations: 1.841 MB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/1.294, allocations: 7.938 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/1.295, allocations: 23.84 kB / 0.985 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006778/1.295, allocations: 115.6 kB / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.297, allocations: 215.4 kB / 0.9853 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005044/1.297, allocations: 175.6 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/1.298, allocations: 338.5 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/1.298, allocations: 87.72 kB / 0.9859 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/1.299, allocations: 103.6 kB / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/1.299, allocations: 12 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009056/1.3, allocations: 247.6 kB / 0.9863 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/1.3, allocations: 79.78 kB / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/1.3, allocations: 61.64 kB / 0.9864 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007734/1.301, allocations: 341.5 kB / 0.9867 GB, free: 260 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.301, allocations: 3.938 kB / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of FrontEnd: time 5.41e-06/1.301, allocations: 0 / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.301, allocations: 0 / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001541/1.303, allocations: 0.5107 MB / 0.9872 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/1.303, allocations: 16.03 kB / 0.9872 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/1.303, allocations: 58.53 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/1.304, allocations: 119.6 kB / 0.9874 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/1.305, allocations: 251.2 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/1.305, allocations: 16.39 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/1.305, allocations: 19.98 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.306, allocations: 381.9 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/1.306, allocations: 7.938 kB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/1.306, allocations: 7.984 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/1.306, allocations: 23.98 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/1.307, allocations: 367.7 kB / 0.9884 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/1.311, allocations: 1.729 MB / 0.9901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.312, allocations: 340.9 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/1.313, allocations: 93.09 kB / 0.9905 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.313, allocations: 34.5 kB / 0.9906 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 3.817e-06/1.313, allocations: 0 / 0.9906 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.002029/1.315, allocations: 0.5675 MB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/1.315, allocations: 77.11 kB / 0.9912 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.315, allocations: 191.2 kB / 0.9914 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/1.315, allocations: 37.64 kB / 0.9914 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.316, allocations: 148.4 kB / 0.9916 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.316, allocations: 86.75 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/1.316, allocations: 4 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002914/1.316, allocations: 334.8 kB / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/1.317, allocations: 147.9 kB / 0.9921 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/1.317, allocations: 233.3 kB / 0.9923 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.318, allocations: 177.5 kB / 0.9925 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.318, allocations: 0 / 0.9925 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001314/1.319, allocations: 450.9 kB / 0.9929 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006365/1.32, allocations: 0.881 MB / 0.9938 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.32, allocations: 4 kB / 0.9938 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.32, allocations: 4 kB / 0.9938 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/1.321, allocations: 95.86 kB / 0.9939 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.321, allocations: 4 kB / 0.9939 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/1.321, allocations: 39.89 kB / 0.9939 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/1.321, allocations: 12 kB / 0.994 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.321, allocations: 4 kB / 0.994 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/1.322, allocations: 380.2 kB / 0.9943 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.322, allocations: 288 / 0.9943 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.322, allocations: 11.95 kB / 0.9943 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.323, allocations: 95.86 kB / 0.9944 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.323, allocations: 4 kB / 0.9944 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/1.323, allocations: 35.81 kB / 0.9945 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/1.323, allocations: 12 kB / 0.9945 GB, free: 7.844 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003671/1.324, allocations: 234.6 kB / 0.9947 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.324, allocations: 23.72 kB / 0.9947 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/1.325, allocations: 433 kB / 0.9951 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.325, allocations: 4 kB / 0.9951 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.325, allocations: 0 / 0.9951 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.325, allocations: 3.984 kB / 0.9951 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.328, allocations: 1.061 MB / 0.9962 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.328, allocations: 4 kB / 0.9962 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/1.329, allocations: 87.86 kB / 0.9963 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.329, allocations: 4 kB / 0.9963 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/1.329, allocations: 11.98 kB / 0.9963 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.329, allocations: 4 kB / 0.9963 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.329, allocations: 48 / 0.9963 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.33, allocations: 0.6376 MB / 0.9969 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/1.33, allocations: 132.7 kB / 0.997 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/1.331, allocations: 8 kB / 0.997 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.331, allocations: 27.97 kB / 0.9971 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.331, allocations: 23.91 kB / 0.9971 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/1.331, allocations: 12 kB / 0.9971 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002214/1.331, allocations: 148.1 kB / 0.9972 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.174e-06/1.331, allocations: 0 / 0.9972 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001129/1.333, allocations: 107.9 kB / 0.9973 GB, free: 4.707 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002163/1.335, allocations: 1.602 MB / 0.9989 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.337, allocations: 0.5547 MB / 0.9994 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.337, allocations: 0 / 0.9994 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/1.337, allocations: 187.6 kB / 0.9996 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/1.338, allocations: 32.55 kB / 0.9997 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.343, allocations: 3.025 MB / 1.003 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/1.344, allocations: 0.7686 MB / 1.003 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006809/1.344, allocations: 122.2 kB / 1.003 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.345, allocations: 75.41 kB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of SimCode: time 1.824e-06/1.345, allocations: 0 / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/1.38, allocations: 4.934 MB / 1.008 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003571/1.381, allocations: 216 kB / 1.009 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/4.378, allocations: 4 kB / 1.009 GB, free: 9.184 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat