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.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.325/1.325, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000933/0.0009329, allocations: 176.6 kB / 325.9 MB, free: 2.691 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.423/1.423, allocations: 205 MB / 0.576 GB, free: 20.97 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.0006499/0.0006499, allocations: 87.95 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 9.812 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, 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.ACLine_L): time 0.005079/0.1651, allocations: 5.809 MB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.1692, allocations: 3.259 MB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.1697, allocations: 27.81 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.1715, allocations: 0.8697 MB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008297/0.1723, allocations: 446 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.1732, allocations: 457.4 kB / 0.9068 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008428/0.1741, allocations: 1.463 MB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.1747, allocations: 0.6169 MB / 0.9088 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.1751, allocations: 374.3 kB / 0.9092 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.1755, allocations: 446.1 kB / 0.9096 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1756, allocations: 32 kB / 0.9097 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006912/0.1763, allocations: 0.5691 MB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1765, allocations: 263.2 kB / 0.9105 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1767, allocations: 361.9 kB / 0.9108 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.1775, allocations: 1.164 MB / 0.9119 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1775, allocations: 0 / 0.9119 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1775, allocations: 0 / 0.9119 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.1775, allocations: 0 / 0.9119 GB, free: 51.92 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001037/0.1786, allocations: 0.9207 MB / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1786, allocations: 12.03 kB / 0.9128 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1787, allocations: 118.7 kB / 0.913 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.1801, allocations: 215.7 kB / 0.9132 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.1807, allocations: 0.5453 MB / 0.9137 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1807, allocations: 41.69 kB / 0.9137 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.1808, allocations: 72.25 kB / 0.9138 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1819, allocations: 1.03 MB / 0.9148 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1819, allocations: 7.938 kB / 0.9148 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.182, allocations: 27.98 kB / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.182, allocations: 69.27 kB / 0.9149 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.1828, allocations: 0.6918 MB / 0.9156 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.1865, allocations: 5.764 MB / 0.9212 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.1874, allocations: 0.5955 MB / 0.9218 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/0.1881, allocations: 420.6 kB / 0.9222 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.1882, allocations: 7.938 kB / 0.9222 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1882, allocations: 38.5 kB / 0.9222 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 3.176e-06/0.1882, allocations: 4 kB / 0.9223 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003816/0.192, allocations: 2.081 MB / 0.9243 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.1921, allocations: 63.41 kB / 0.9243 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.1924, allocations: 458.7 kB / 0.9248 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1925, allocations: 33.7 kB / 0.9248 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1926, allocations: 387 kB / 0.9252 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.1927, allocations: 149.9 kB / 0.9253 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.1927, allocations: 53.7 kB / 0.9254 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.1928, allocations: 366.8 kB / 0.9257 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.1931, allocations: 245.2 kB / 0.926 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1935, allocations: 453 kB / 0.9264 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1941, allocations: 0.7636 MB / 0.9271 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1941, allocations: 0 / 0.9271 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001515/0.1957, allocations: 1.062 MB / 0.9282 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1957, allocations: 8 kB / 0.9282 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1957, allocations: 8 kB / 0.9282 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.1966, allocations: 335.6 kB / 0.9285 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1969, allocations: 95.83 kB / 0.9286 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/0.2018, allocations: 6.955 MB / 0.9354 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.2022, allocations: 27.98 kB / 0.9354 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.2023, allocations: 28 kB / 0.9354 GB, free: 26.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.2025, allocations: 249.5 kB / 0.9357 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.2026, allocations: 59.47 kB / 0.9357 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.2041, allocations: 0.9156 MB / 0.9366 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2041, allocations: 8 kB / 0.9366 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2041, allocations: 4 kB / 0.9366 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2041, allocations: 3.984 kB / 0.9366 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.2062, allocations: 1.712 MB / 0.9383 GB, free: 23.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.2062, allocations: 0 / 0.9383 GB, free: 23.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2064, allocations: 47.91 kB / 0.9384 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.2073, allocations: 319.3 kB / 0.9387 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.2073, allocations: 8 kB / 0.9387 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.2121, allocations: 6.947 MB / 0.9455 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2121, allocations: 4 kB / 0.9455 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.2136, allocations: 1.011 MB / 0.9465 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.2138, allocations: 184.2 kB / 0.9466 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.2138, allocations: 8 kB / 0.9466 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.2141, allocations: 23.97 kB / 0.9467 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.2142, allocations: 47.83 kB / 0.9467 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2142, allocations: 12 kB / 0.9467 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002473/0.2145, allocations: 310.9 kB / 0.947 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2145, allocations: 4 kB / 0.947 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006702/0.2152, allocations: 192 kB / 0.9472 GB, free: 13.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.2167, allocations: 1.556 MB / 0.9487 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.2182, allocations: 1.207 MB / 0.9499 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.2182, allocations: 0 / 0.9499 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.2191, allocations: 0.8698 MB / 0.9507 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.2201, allocations: 185.4 kB / 0.9509 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.2266, allocations: 6.271 MB / 0.957 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2271, allocations: 0.9921 MB / 0.958 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.2274, allocations: 101.2 kB / 0.9581 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2276, allocations: 231.3 kB / 0.9583 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2276, allocations: 0 / 0.9583 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4854/0.713, allocations: 14.57 MB / 0.9726 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.7134, allocations: 258.4 kB / 0.9728 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.706, allocations: 0 / 0.9728 GB, free: 3.008 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)