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.001056/0.001056, allocations: 91.22 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.001253/0.001253, 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.462/1.462, allocations: 223.2 MB / 240 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 2.625/2.625, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 12 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.772, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003524/0.7756, allocations: 2.438 MB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.7786, allocations: 1.856 MB / 0.9853 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.7788, allocations: 7.938 kB / 0.9853 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.779, allocations: 31.77 kB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.7796, allocations: 143.4 kB / 0.9855 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.7804, allocations: 210.1 kB / 0.9857 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.7809, allocations: 367 kB / 0.9861 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007192/0.7816, allocations: 350.5 kB / 0.9864 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.7819, allocations: 99.61 kB / 0.9865 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.7823, allocations: 151.5 kB / 0.9866 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.7823, allocations: 12 kB / 0.9866 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.7828, allocations: 263.6 kB / 0.9869 GB, free: 348 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.783, allocations: 83.72 kB / 0.987 GB, free: 264 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.7831, allocations: 57.58 kB / 0.987 GB, free: 200 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.7835, allocations: 341.6 kB / 0.9874 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7836, allocations: 0 / 0.9874 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7836, allocations: 0 / 0.9874 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.7836, allocations: 0 / 0.9874 GB, free: 15.86 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001076/0.7847, allocations: 0.526 MB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7847, allocations: 8.031 kB / 0.9879 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.7849, allocations: 54.55 kB / 0.9879 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/0.7856, allocations: 107.6 kB / 0.988 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.786, allocations: 251.8 kB / 0.9883 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.786, allocations: 20.38 kB / 0.9883 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.7861, allocations: 16 kB / 0.9883 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.7868, allocations: 389.9 kB / 0.9887 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.7868, allocations: 7.891 kB / 0.9887 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.7869, allocations: 8 kB / 0.9887 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.7869, allocations: 27.98 kB / 0.9887 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.7876, allocations: 367.6 kB / 0.9891 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.7899, allocations: 1.737 MB / 0.9908 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.7906, allocations: 346.2 kB / 0.9911 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.7909, allocations: 193.6 kB / 0.9913 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.791, allocations: 93.08 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.7911, allocations: 34.56 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.7911, allocations: 0 / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.006943/0.798, allocations: 2.071 MB / 0.9934 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7982, allocations: 81.11 kB / 0.9935 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.7984, allocations: 179.5 kB / 0.9937 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.7985, allocations: 33.7 kB / 0.9937 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.7986, allocations: 148.4 kB / 0.9938 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7988, allocations: 130.1 kB / 0.994 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.7988, allocations: 11.94 kB / 0.994 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7989, allocations: 338.8 kB / 0.9943 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.7994, allocations: 247.8 kB / 0.9945 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.8, allocations: 345.5 kB / 0.9949 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.8005, allocations: 297.2 kB / 0.9952 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.8005, allocations: 0 / 0.9952 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001215/0.8017, allocations: 0.6508 MB / 0.9958 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.8019, allocations: 160.8 kB / 0.9959 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8019, allocations: 0 / 0.9959 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8019, allocations: 11.98 kB / 0.996 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.8028, allocations: 155.7 kB / 0.9961 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.8028, allocations: 4 kB / 0.9961 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.8032, allocations: 55.86 kB / 0.9962 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.8032, allocations: 19.98 kB / 0.9962 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8033, allocations: 8 kB / 0.9962 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/0.8044, allocations: 0.5816 MB / 0.9968 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8044, allocations: 0 / 0.9968 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.8044, allocations: 4 kB / 0.9968 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.8052, allocations: 155.9 kB / 0.9969 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.8052, allocations: 7.953 kB / 0.9969 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.8056, allocations: 55.92 kB / 0.997 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8056, allocations: 16 kB / 0.997 GB, free: 5.543 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 (44): * Single equations (assignments): 44 * 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.0002239/0.8058, allocations: 237 kB / 0.9972 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.8059, allocations: 23.72 kB / 0.9972 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.8073, allocations: 0.6924 MB / 0.9979 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8074, allocations: 4 kB / 0.9979 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.8074, allocations: 7.953 kB / 0.9979 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8074, allocations: 3.984 kB / 0.9979 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.8095, allocations: 1.379 MB / 0.9993 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8095, allocations: 48 / 0.9993 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.8101, allocations: 143.9 kB / 0.9994 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.8101, allocations: 4 kB / 0.9994 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.8102, allocations: 8 kB / 0.9994 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.8102, allocations: 4 kB / 0.9994 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8102, allocations: 4 kB / 0.9994 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.8112, allocations: 0.73 MB / 1 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.8114, allocations: 144.7 kB / 1 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.8114, allocations: 12 kB / 1 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.8118, allocations: 43.94 kB / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.8119, allocations: 27.97 kB / 1 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.8119, allocations: 12 kB / 1 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001352/0.812, allocations: 139.8 kB / 1.001 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.812, allocations: 4 kB / 1.001 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006614/0.8127, allocations: 148 kB / 1.001 GB, free: 1.609 MB / 0.7481 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 (37): * Single equations (assignments): 37 * 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.001447/0.8142, allocations: 1.303 MB / 1.002 GB, free: 264 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8159, allocations: 0.8787 MB / 1.003 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8159, allocations: 0 / 1.003 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.8163, allocations: 268.8 kB / 1.003 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.8169, allocations: 43.17 kB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.8205, allocations: 2.236 MB / 1.005 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.821, allocations: 0.7877 MB / 1.006 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005662/0.8215, allocations: 166.8 kB / 1.006 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.8217, allocations: 83.5 kB / 1.006 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.8218, allocations: 3.938 kB / 1.006 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.8407, allocations: 6.751 MB / 1.013 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.8409, allocations: 226.4 kB / 1.013 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.831, allocations: 2.75 kB / 1.013 GB, free: 4.891 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