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.001075/0.001075, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00122/0.00122, allocations: 168.7 kB / 15.95 MB, free: 204 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.412/1.412, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005019, allocations: 15.88 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.817, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004076/0.8211, allocations: 2.964 MB / 0.984 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003286/0.8244, allocations: 2.01 MB / 0.986 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.8247, allocations: 7.938 kB / 0.986 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.825, allocations: 35.7 kB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.8256, allocations: 179.2 kB / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.8264, allocations: 215.5 kB / 0.9864 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000615/0.827, allocations: 446.5 kB / 0.9868 GB, free: 396 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.8277, allocations: 321.5 kB / 0.9872 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.8281, allocations: 123.6 kB / 0.9873 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.8285, allocations: 167.4 kB / 0.9874 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.8286, allocations: 8 kB / 0.9874 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006988/0.8293, allocations: 275.6 kB / 0.9877 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.8295, allocations: 83.77 kB / 0.9878 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.8296, allocations: 81.45 kB / 0.9879 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.8303, allocations: 375 kB / 0.9882 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8303, allocations: 4 kB / 0.9882 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8303, allocations: 0 / 0.9882 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.8303, allocations: 0 / 0.9882 GB, free: 14.94 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.001162/0.8315, allocations: 0.5651 MB / 0.9888 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.8315, allocations: 15.97 kB / 0.9888 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.8317, allocations: 58.53 kB / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.8326, allocations: 123.5 kB / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.8331, allocations: 266.5 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.8332, allocations: 16.44 kB / 0.9892 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.8332, allocations: 23.94 kB / 0.9893 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.8341, allocations: 423.5 kB / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.8341, allocations: 0 / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.8342, allocations: 8 kB / 0.9897 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-05/0.8343, allocations: 32.55 kB / 0.9897 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.835, allocations: 357.9 kB / 0.99 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.8381, allocations: 2.058 MB / 0.992 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.839, allocations: 365.6 kB / 0.9924 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.8394, allocations: 197.9 kB / 0.9926 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.8396, allocations: 89.28 kB / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.8396, allocations: 38.75 kB / 0.9927 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.8396, allocations: 0 / 0.9927 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.007328/0.847, allocations: 1.757 MB / 0.9944 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.8471, allocations: 81.11 kB / 0.9945 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.8476, allocations: 229 kB / 0.9947 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.8476, allocations: 29.7 kB / 0.9947 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.8479, allocations: 188 kB / 0.9949 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8481, allocations: 114.3 kB / 0.995 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.8481, allocations: 19.94 kB / 0.9951 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.8484, allocations: 334.8 kB / 0.9954 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.849, allocations: 196.8 kB / 0.9956 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.8497, allocations: 313.1 kB / 0.9959 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.8504, allocations: 239.9 kB / 0.9961 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.8504, allocations: 4 kB / 0.9961 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00214/0.8526, allocations: 0.6687 MB / 0.9967 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.8529, allocations: 192.1 kB / 0.9969 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.8529, allocations: 4 kB / 0.9969 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.8538, allocations: 155.2 kB / 0.9971 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.8544, allocations: 95.88 kB / 0.9972 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/0.8592, allocations: 3.95 MB / 1.001 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.8597, allocations: 48.02 kB / 1.001 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.8598, allocations: 19.94 kB / 1.001 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8598, allocations: 4 kB / 1.001 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001779/0.8616, allocations: 0.6199 MB / 1.002 GB, free: 232 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8616, allocations: 4 kB / 1.002 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.8622, allocations: 135.3 kB / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.8627, allocations: 104 kB / 1.002 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.8637, allocations: 1.105 MB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.8641, allocations: 48.09 kB / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.8642, allocations: 16 kB / 1.003 GB, free: 14.76 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.8646, allocations: 245.5 kB / 1.003 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.8647, allocations: 35.62 kB / 1.003 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.8666, allocations: 0.6326 MB / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.8667, allocations: 4 kB / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8667, allocations: 0 / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8667, allocations: 4 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.8702, allocations: 1.342 MB / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.8702, allocations: 4 kB / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.8706, allocations: 59.91 kB / 1.005 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006115/0.8713, allocations: 159.5 kB / 1.005 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.8713, allocations: 8 kB / 1.005 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.8759, allocations: 3.965 MB / 1.009 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.876, allocations: 3.938 kB / 1.009 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.8779, allocations: 0.7965 MB / 1.01 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.8782, allocations: 140.7 kB / 1.01 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.8783, allocations: 11.94 kB / 1.01 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.8788, allocations: 39.97 kB / 1.01 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.8789, allocations: 35.91 kB / 1.01 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.8789, allocations: 12 kB / 1.01 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002691/0.8792, allocations: 168.5 kB / 1.011 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8792, allocations: 0 / 1.011 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001485/0.8807, allocations: 160 kB / 1.011 GB, free: 6.406 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/0.8831, allocations: 1.354 MB / 1.012 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003044/0.8861, allocations: 1.2 MB / 1.013 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8862, allocations: 0 / 1.013 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.8873, allocations: 0.4941 MB / 1.014 GB, free: 3.199 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.8882, allocations: 73.39 kB / 1.014 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.8936, allocations: 2.258 MB / 1.016 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.8941, allocations: 0.8006 MB / 1.017 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.8945, allocations: 118.9 kB / 1.017 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.8947, allocations: 91.41 kB / 1.017 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of SimCode: time 1.142e-06/0.8947, allocations: 0 / 1.017 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.9198, allocations: 8.295 MB / 1.025 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.9201, allocations: 253.5 kB / 1.025 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.967, allocations: 2.188 kB / 1.025 GB, free: 7.363 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