Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",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.297/1.297, 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.000886/0.0008857, allocations: 178.9 kB / 325.8 MB, free: 2.695 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.533/1.533, allocations: 205 MB / 0.576 GB, free: 20.91 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.0008899/0.0008899, allocations: 95.92 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8.5 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.003902/0.1669, allocations: 4.843 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.1703, allocations: 3.799 MB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1704, allocations: 7.938 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1716, allocations: 0.5371 MB / 0.9052 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.1721, allocations: 410.2 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1725, allocations: 245.5 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.1731, allocations: 0.9164 MB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.1736, allocations: 0.4974 MB / 0.9072 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1737, allocations: 203.1 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.174, allocations: 271 kB / 0.9076 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.174, allocations: 20 kB / 0.9077 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.1745, allocations: 475.3 kB / 0.9081 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1746, allocations: 151.5 kB / 0.9083 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1747, allocations: 210.8 kB / 0.9085 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.1753, allocations: 0.9502 MB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1754, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1754, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.1754, allocations: 0 / 0.9094 GB, free: 54.54 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009171/0.1763, allocations: 0.7598 MB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1763, allocations: 8.031 kB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1764, allocations: 78.7 kB / 0.9102 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.1788, allocations: 0.7101 MB / 0.9109 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.1795, allocations: 0.5431 MB / 0.9114 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1795, allocations: 25.02 kB / 0.9115 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.1796, allocations: 31.94 kB / 0.9115 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1808, allocations: 0.8434 MB / 0.9123 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1808, allocations: 3.906 kB / 0.9123 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.1809, allocations: 16 kB / 0.9123 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.181, allocations: 72.56 kB / 0.9124 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.1826, allocations: 0.9351 MB / 0.9133 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1854, allocations: 2.956 MB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.1868, allocations: 0.5683 MB / 0.9168 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.1874, allocations: 320.6 kB / 0.9171 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-05/0.1875, allocations: 85.11 kB / 0.9171 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.1875, allocations: 38.55 kB / 0.9172 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.1875, allocations: 0 / 0.9172 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01199/0.1995, allocations: 4.093 MB / 0.9212 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1995, allocations: 88.91 kB / 0.9213 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.1999, allocations: 453.6 kB / 0.9217 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1999, allocations: 33.7 kB / 0.9217 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2001, allocations: 236.1 kB / 0.922 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.2001, allocations: 122.2 kB / 0.9221 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.2002, allocations: 37.7 kB / 0.9221 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.2003, allocations: 358.7 kB / 0.9224 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/0.2011, allocations: 440.5 kB / 0.9229 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.2019, allocations: 0.5291 MB / 0.9234 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.2036, allocations: 0.9585 MB / 0.9243 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2036, allocations: 3.938 kB / 0.9243 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005017/0.2086, allocations: 1.935 MB / 0.9262 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.2087, allocations: 144.1 kB / 0.9264 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2087, allocations: 8 kB / 0.9264 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004143/0.2128, allocations: 1.094 MB / 0.9274 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.2133, allocations: 135.8 kB / 0.9276 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/0.2209, allocations: 6.387 MB / 0.9338 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.2216, allocations: 119.8 kB / 0.9339 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.2216, allocations: 19.98 kB / 0.9339 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-06/0.2216, allocations: 6.875 kB / 0.9339 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004172/0.2258, allocations: 1.636 MB / 0.9355 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.2258, allocations: 192 / 0.9355 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.2287, allocations: 0.8017 MB / 0.9363 GB, free: 26.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2292, allocations: 139.8 kB / 0.9364 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.2348, allocations: 5.558 MB / 0.9419 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.2355, allocations: 111.9 kB / 0.942 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.2355, allocations: 19.98 kB / 0.942 GB, free: 20.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.2358, allocations: 340.8 kB / 0.9423 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.2359, allocations: 39.53 kB / 0.9424 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.2405, allocations: 1.844 MB / 0.9442 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2405, allocations: 3.984 kB / 0.9442 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2405, allocations: 4 kB / 0.9442 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2405, allocations: 0 / 0.9442 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005121/0.2457, allocations: 2.577 MB / 0.9467 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2457, allocations: 0 / 0.9467 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.246, allocations: 79.91 kB / 0.9468 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/0.2497, allocations: 1.028 MB / 0.9478 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2498, allocations: 8 kB / 0.9478 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006578/0.2563, allocations: 6.071 MB / 0.9537 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2564, allocations: 4.031 kB / 0.9537 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/0.2607, allocations: 1.79 MB / 0.9555 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.2609, allocations: 196.6 kB / 0.9556 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.261, allocations: 15.92 kB / 0.9557 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.2615, allocations: 95.86 kB / 0.9558 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2617, allocations: 31.89 kB / 0.9558 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.2617, allocations: 15.98 kB / 0.9558 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002536/0.262, allocations: 339.1 kB / 0.9561 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.262, allocations: 0 / 0.9561 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007233/0.2627, allocations: 288 kB / 0.9564 GB, free: 4.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004774/0.2675, allocations: 2.421 MB / 0.9588 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005014/0.2725, allocations: 2.537 MB / 0.9612 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2725, allocations: 0 / 0.9612 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.2747, allocations: 0.9849 MB / 0.9622 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.2753, allocations: 112.7 kB / 0.9623 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.2911, allocations: 8.245 MB / 0.9704 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.2915, allocations: 0.9531 MB / 0.9713 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.292, allocations: 163.3 kB / 0.9714 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.2922, allocations: 147.4 kB / 0.9716 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of SimCode: time 1.422e-06/0.2922, allocations: 0 / 0.9716 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3821/0.6744, allocations: 20.99 MB / 0.9921 GB, free: 324 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.6747, allocations: 287.7 kB / 0.9924 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.238, allocations: 4 kB / 0.9924 GB, free: 15.93 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)