Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="BuildingSystems_BuildingSystems_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.00074/0.00074, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004321/0.004321, allocations: 173.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 270.1 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 14.62 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002978/0.1475, allocations: 2.495 MB / 0.6877 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1503, allocations: 2.004 MB / 0.6896 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.1504, allocations: 7.938 kB / 0.6896 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1505, allocations: 27.78 kB / 0.6897 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.151, allocations: 184.5 kB / 0.6898 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.1515, allocations: 246.2 kB / 0.6901 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1519, allocations: 450.8 kB / 0.6905 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.1524, allocations: 357.4 kB / 0.6908 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1526, allocations: 103.6 kB / 0.6909 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1529, allocations: 152.1 kB / 0.6911 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1529, allocations: 8 kB / 0.6911 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.1535, allocations: 451.9 kB / 0.6915 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.1536, allocations: 83.77 kB / 0.6916 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1537, allocations: 133.7 kB / 0.6917 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.1542, allocations: 471.2 kB / 0.6922 GB, free: 7.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1542, allocations: 4 kB / 0.6922 GB, free: 7.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1542, allocations: 1.969 kB / 0.6922 GB, free: 7.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1542, allocations: 0 / 0.6922 GB, free: 7.828 MB / 494.1 MB 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.0007441/0.155, allocations: 0.5069 MB / 0.6927 GB, free: 7.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.155, allocations: 8.031 kB / 0.6927 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.1551, allocations: 66.7 kB / 0.6928 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006895/0.1558, allocations: 112.5 kB / 0.6929 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1561, allocations: 249.2 kB / 0.6931 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.1561, allocations: 28.67 kB / 0.6931 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.1561, allocations: 19.94 kB / 0.6931 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.1568, allocations: 389.9 kB / 0.6935 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1568, allocations: 7.938 kB / 0.6935 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1568, allocations: 4 kB / 0.6935 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.1569, allocations: 27.98 kB / 0.6936 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.1575, allocations: 367.7 kB / 0.6939 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1593, allocations: 1.741 MB / 0.6956 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.1599, allocations: 337 kB / 0.6959 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1602, allocations: 193.6 kB / 0.6961 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.1604, allocations: 101 kB / 0.6962 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1604, allocations: 34.55 kB / 0.6962 GB, free: 3.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.634e-06/0.1604, allocations: 0 / 0.6962 GB, free: 3.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007322/0.1677, allocations: 2.075 MB / 0.6983 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1678, allocations: 81.11 kB / 0.6983 GB, free: 1.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.168, allocations: 175.8 kB / 0.6985 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.168, allocations: 29.7 kB / 0.6985 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.1681, allocations: 156.3 kB / 0.6987 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.1682, allocations: 118.3 kB / 0.6988 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1683, allocations: 33.7 kB / 0.6988 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1684, allocations: 338.8 kB / 0.6992 GB, free: 312 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.1689, allocations: 251.8 kB / 0.6994 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.1694, allocations: 353.5 kB / 0.6997 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1704, allocations: 0.6234 MB / 0.7003 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1704, allocations: 4 kB / 0.7004 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001156/0.1716, allocations: 0.6582 MB / 0.701 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.1717, allocations: 156.8 kB / 0.7011 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1717, allocations: 0 / 0.7011 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1717, allocations: 8 kB / 0.7012 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.1726, allocations: 155.8 kB / 0.7013 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1726, allocations: 4 kB / 0.7013 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.173, allocations: 55.92 kB / 0.7014 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.1731, allocations: 23.92 kB / 0.7014 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.1731, allocations: 2.5 kB / 0.7014 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/0.1742, allocations: 0.5932 MB / 0.702 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1742, allocations: 0 / 0.702 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.1742, allocations: 7.938 kB / 0.702 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.175, allocations: 147.8 kB / 0.7021 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.175, allocations: 8.188 kB / 0.7021 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.1754, allocations: 59.86 kB / 0.7022 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.1754, allocations: 12 kB / 0.7022 GB, free: 13.1 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.1756, allocations: 243.7 kB / 0.7024 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.1757, allocations: 23.69 kB / 0.7024 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.1771, allocations: 0.7002 MB / 0.7031 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1771, allocations: 4 kB / 0.7031 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1771, allocations: 0 / 0.7031 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1771, allocations: 3.984 kB / 0.7031 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.1792, allocations: 1.384 MB / 0.7045 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1792, allocations: 4 kB / 0.7045 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.1797, allocations: 132.1 kB / 0.7046 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1798, allocations: 4 kB / 0.7046 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1798, allocations: 8 kB / 0.7046 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1798, allocations: 4 kB / 0.7046 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1798, allocations: 7.875 kB / 0.7046 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1808, allocations: 0.7309 MB / 0.7054 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.181, allocations: 144.8 kB / 0.7055 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.181, allocations: 8 kB / 0.7055 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.1813, allocations: 47.94 kB / 0.7055 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.1814, allocations: 31.84 kB / 0.7056 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.1815, allocations: 12 kB / 0.7056 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001153/0.1816, allocations: 148.9 kB / 0.7057 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1816, allocations: 0 / 0.7057 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005956/0.1822, allocations: 148 kB / 0.7059 GB, free: 9.164 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.1835, allocations: 1.307 MB / 0.7071 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.1851, allocations: 0.8715 MB / 0.708 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1851, allocations: 0 / 0.708 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.1855, allocations: 272.8 kB / 0.7083 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.1861, allocations: 45.75 kB / 0.7083 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.1909, allocations: 3.951 MB / 0.7122 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1913, allocations: 0.7838 MB / 0.7129 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004871/0.1918, allocations: 166.8 kB / 0.7131 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.192, allocations: 79.41 kB / 0.7132 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.192, allocations: 0 / 0.7132 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.2075, allocations: 6.784 MB / 0.7198 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2077, allocations: 253.8 kB / 0.72 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.947, allocations: 6.031 kB / 0.72 GB, free: 10.63 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)