Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 266.7 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 168.6 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006872/0.0006874, allocations: 82.31 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8.844 kB / 0.7933 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1783, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00344/0.1817, allocations: 4.005 MB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1841, allocations: 2.444 MB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1843, allocations: 15.88 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1851, allocations: 346.5 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1855, allocations: 342.5 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.186, allocations: 294.1 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1865, allocations: 0.8699 MB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.1868, allocations: 254 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.187, allocations: 226.9 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1872, allocations: 254.9 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1873, allocations: 16 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.1877, allocations: 0.5301 MB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.1878, allocations: 135.5 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.188, allocations: 218.8 kB / 0.9059 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.1885, allocations: 0.7434 MB / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1885, allocations: 0 / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1885, allocations: 0 / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1885, allocations: 0 / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007416/0.1893, allocations: 0.7015 MB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1893, allocations: 12.03 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.1894, allocations: 78.69 kB / 0.9074 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1904, allocations: 188 kB / 0.9076 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1908, allocations: 400.5 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1908, allocations: 25.38 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.1909, allocations: 36.3 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.1915, allocations: 0.6585 MB / 0.9086 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1915, allocations: 7.938 kB / 0.9086 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.1915, allocations: 12 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.1916, allocations: 63.95 kB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.1921, allocations: 491.3 kB / 0.9092 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1941, allocations: 3.786 MB / 0.9129 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.1954, allocations: 0.636 MB / 0.9135 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1956, allocations: 186.5 kB / 0.9137 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1957, allocations: 0 / 0.9137 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.1957, allocations: 42.56 kB / 0.9137 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.1957, allocations: 0 / 0.9137 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001744/0.1974, allocations: 1.281 MB / 0.915 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1975, allocations: 106.8 kB / 0.9151 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1978, allocations: 397.8 kB / 0.9155 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1978, allocations: 33.7 kB / 0.9155 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1979, allocations: 275.4 kB / 0.9158 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.198, allocations: 118.4 kB / 0.9159 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.198, allocations: 49.69 kB / 0.9159 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.1982, allocations: 358.8 kB / 0.9163 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1983, allocations: 173 kB / 0.9164 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1986, allocations: 379.2 kB / 0.9168 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.1991, allocations: 0.5951 MB / 0.9174 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1991, allocations: 288 / 0.9174 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007853/0.1999, allocations: 0.6709 MB / 0.918 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2, allocations: 8 kB / 0.918 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2, allocations: 15.92 kB / 0.918 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.2003, allocations: 103.1 kB / 0.9181 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2006, allocations: 115.8 kB / 0.9183 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.2025, allocations: 4.036 MB / 0.9222 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.2028, allocations: 27.97 kB / 0.9222 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2028, allocations: 24 kB / 0.9222 GB, free: 40.13 MB / 0.6042 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.203, allocations: 193.6 kB / 0.9224 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.2031, allocations: 47.44 kB / 0.9225 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.2037, allocations: 0.5187 MB / 0.923 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2037, allocations: 4 kB / 0.923 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2037, allocations: 0 / 0.923 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2038, allocations: 3.984 kB / 0.923 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.205, allocations: 1.283 MB / 0.9242 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.205, allocations: 4 kB / 0.9242 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.2052, allocations: 64.17 kB / 0.9243 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.2054, allocations: 94.44 kB / 0.9244 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2055, allocations: 11.94 kB / 0.9244 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.2072, allocations: 4.028 MB / 0.9283 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2073, allocations: 0 / 0.9283 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.2079, allocations: 0.7817 MB / 0.9291 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.208, allocations: 156.5 kB / 0.9293 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.208, allocations: 19.86 kB / 0.9293 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.2083, allocations: 19.98 kB / 0.9293 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.2083, allocations: 35.89 kB / 0.9293 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2084, allocations: 12 kB / 0.9293 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001885/0.2086, allocations: 275.1 kB / 0.9296 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2086, allocations: 4 kB / 0.9296 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005306/0.2091, allocations: 127.9 kB / 0.9297 GB, free: 31.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007543/0.2099, allocations: 1.327 MB / 0.931 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.2107, allocations: 0.8054 MB / 0.9318 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2107, allocations: 4 kB / 0.9318 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.2112, allocations: 0.5514 MB / 0.9323 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.2121, allocations: 126.5 kB / 0.9325 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.2159, allocations: 4.732 MB / 0.9371 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2161, allocations: 0.8625 MB / 0.9379 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.2163, allocations: 104.5 kB / 0.938 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2165, allocations: 151.4 kB / 0.9382 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2165, allocations: 3.938 kB / 0.9382 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2334, allocations: 9.413 MB / 0.9474 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.2336, allocations: 252.2 kB / 0.9476 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/3.145, allocations: 0 / 0.9476 GB, free: 13.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)