Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",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.0007097/0.0007098, allocations: 91.45 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.004766/0.004766, allocations: 172.9 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 258.7 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9017/0.9017, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007519/0.0007516, allocations: 11.59 kB / 0.5988 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1554, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004551/0.16, allocations: 3.97 MB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.164, allocations: 2.629 MB / 0.6917 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.1643, allocations: 11.94 kB / 0.6917 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1646, allocations: 71.42 kB / 0.6918 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009062/0.1655, allocations: 363.2 kB / 0.6921 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1666, allocations: 492.2 kB / 0.6926 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1677, allocations: 1.009 MB / 0.6936 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008361/0.1686, allocations: 0.5159 MB / 0.6941 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.169, allocations: 223.1 kB / 0.6943 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.1695, allocations: 338.7 kB / 0.6946 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.1695, allocations: 20 kB / 0.6946 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.1701, allocations: 391.1 kB / 0.695 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1702, allocations: 179.5 kB / 0.6952 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.1705, allocations: 264.3 kB / 0.6954 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.1711, allocations: 0.7317 MB / 0.6961 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1711, allocations: 0 / 0.6961 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1712, allocations: 0 / 0.6961 GB, free: 3.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1712, allocations: 0 / 0.6961 GB, free: 3.746 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001196/0.1724, allocations: 0.7523 MB / 0.6969 GB, free: 2.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1724, allocations: 8.031 kB / 0.6969 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.478e-05/0.1725, allocations: 90.7 kB / 0.697 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.1733, allocations: 144.1 kB / 0.6971 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1737, allocations: 367 kB / 0.6975 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1738, allocations: 33.38 kB / 0.6975 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.1739, allocations: 44.36 kB / 0.6975 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1751, allocations: 0.8517 MB / 0.6984 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1751, allocations: 15.92 kB / 0.6984 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.1752, allocations: 23.98 kB / 0.6984 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.148e-05/0.1752, allocations: 60.95 kB / 0.6985 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.1765, allocations: 0.7023 MB / 0.6991 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.18, allocations: 4.488 MB / 0.7035 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.1811, allocations: 0.6238 MB / 0.7041 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.1817, allocations: 317.5 kB / 0.7044 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1817, allocations: 7.938 kB / 0.7044 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1818, allocations: 34.56 kB / 0.7045 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.413e-06/0.1818, allocations: 0 / 0.7045 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001878/0.1837, allocations: 0.9968 MB / 0.7054 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1837, allocations: 85.11 kB / 0.7055 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.184, allocations: 353.5 kB / 0.7059 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1841, allocations: 33.7 kB / 0.7059 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1842, allocations: 283.8 kB / 0.7062 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1844, allocations: 134.1 kB / 0.7063 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.1844, allocations: 49.69 kB / 0.7063 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1846, allocations: 358.7 kB / 0.7067 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1851, allocations: 284.9 kB / 0.707 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.1857, allocations: 496 kB / 0.7074 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.187, allocations: 0.8137 MB / 0.7082 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.187, allocations: 4 kB / 0.7082 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00138/0.1884, allocations: 0.8172 MB / 0.709 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.1885, allocations: 285.9 kB / 0.7093 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1885, allocations: 8 kB / 0.7093 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1886, allocations: 12 kB / 0.7093 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.1893, allocations: 175.7 kB / 0.7095 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1893, allocations: 19.88 kB / 0.7095 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.1898, allocations: 91.64 kB / 0.7096 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1898, allocations: 24 kB / 0.7096 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/0.1898, allocations: 4 kB / 0.7096 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/0.1909, allocations: 0.6514 MB / 0.7103 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.191, allocations: 7.938 kB / 0.7103 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.191, allocations: 16 kB / 0.7103 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.1915, allocations: 160.3 kB / 0.7104 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.1916, allocations: 15.92 kB / 0.7104 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.1919, allocations: 71.7 kB / 0.7105 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1919, allocations: 24 kB / 0.7105 GB, free: 4.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0002364/0.1922, allocations: 286.1 kB / 0.7108 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.1923, allocations: 43.53 kB / 0.7109 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.1936, allocations: 0.6811 MB / 0.7115 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1936, allocations: 4 kB / 0.7115 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1936, allocations: 4 kB / 0.7115 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1936, allocations: 0 / 0.7115 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.1958, allocations: 1.49 MB / 0.713 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1958, allocations: 4 kB / 0.713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.1965, allocations: 147.8 kB / 0.7131 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1965, allocations: 4.219 kB / 0.7131 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.1965, allocations: 16 kB / 0.7131 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1965, allocations: 11.88 kB / 0.7132 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1965, allocations: 4 kB / 0.7132 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1977, allocations: 0.8266 MB / 0.714 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1979, allocations: 176.4 kB / 0.7141 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.198, allocations: 8 kB / 0.7141 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1984, allocations: 63.86 kB / 0.7142 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.1985, allocations: 35.91 kB / 0.7142 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.1985, allocations: 8 kB / 0.7142 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002353/0.1987, allocations: 259.1 kB / 0.7145 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1988, allocations: 4 kB / 0.7145 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007056/0.1995, allocations: 192 kB / 0.7147 GB, free: 15.69 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.001418/0.2009, allocations: 1.387 MB / 0.716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.2026, allocations: 1.006 MB / 0.717 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2026, allocations: 0 / 0.717 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.2032, allocations: 320.2 kB / 0.7173 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.204, allocations: 114.1 kB / 0.7174 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/0.2102, allocations: 5.161 MB / 0.7225 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2106, allocations: 0.8757 MB / 0.7233 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005347/0.2112, allocations: 208.1 kB / 0.7235 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.2114, allocations: 155.4 kB / 0.7237 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.2114, allocations: 0 / 0.7237 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5273/0.7388, allocations: 9.803 MB / 0.7332 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.739, allocations: 247.9 kB / 0.7335 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.577, allocations: 0 / 0.7335 GB, free: 12.29 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)