Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.383/1.383, 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.000956/0.0009558, allocations: 174.5 kB / 325.8 MB, free: 2.703 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.471/1.471, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006821/0.0006822, allocations: 94.47 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 13.38 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.007762/0.1577, allocations: 10.7 MB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006421/0.1641, allocations: 5.895 MB / 0.9124 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.165, allocations: 47.62 kB / 0.9125 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.1679, allocations: 1.612 MB / 0.914 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1699, allocations: 1.066 MB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1713, allocations: 0.7363 MB / 0.9158 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1729, allocations: 2.852 MB / 0.9186 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1741, allocations: 1.301 MB / 0.9198 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.1746, allocations: 0.7039 MB / 0.9205 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.1752, allocations: 0.8557 MB / 0.9214 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.1753, allocations: 60 kB / 0.9214 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1768, allocations: 1.442 MB / 0.9228 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1771, allocations: 466.5 kB / 0.9233 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.1775, allocations: 0.7029 MB / 0.924 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.179, allocations: 2.413 MB / 0.9263 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.179, allocations: 0 / 0.9263 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.179, allocations: 0 / 0.9263 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.179, allocations: 0 / 0.9263 GB, free: 37.14 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001619/0.1806, allocations: 1.607 MB / 0.9279 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1807, allocations: 11.97 kB / 0.9279 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.1808, allocations: 219.4 kB / 0.9281 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.1843, allocations: 0.67 MB / 0.9288 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.1853, allocations: 0.9146 MB / 0.9297 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.1853, allocations: 98.89 kB / 0.9298 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1854, allocations: 124.3 kB / 0.9299 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1874, allocations: 2.214 MB / 0.932 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1874, allocations: 11.94 kB / 0.932 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.1875, allocations: 55.97 kB / 0.9321 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.1877, allocations: 166.3 kB / 0.9323 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.1897, allocations: 1.867 MB / 0.9341 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/0.1965, allocations: 12.48 MB / 0.9463 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.1997, allocations: 1.958 MB / 0.9482 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.2002, allocations: 0.6128 MB / 0.9488 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2004, allocations: 98.08 kB / 0.9489 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2004, allocations: 51.44 kB / 0.9489 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 2.345e-06/0.2004, allocations: 0 / 0.9489 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.004087/0.2045, allocations: 3.718 MB / 0.9526 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.2045, allocations: 64.41 kB / 0.9526 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.2052, allocations: 0.9204 MB / 0.9535 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.2052, allocations: 45.7 kB / 0.9536 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.2055, allocations: 0.7352 MB / 0.9543 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.2056, allocations: 382.6 kB / 0.9546 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2057, allocations: 117.7 kB / 0.9548 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.83e-05/0.2058, allocations: 309 kB / 0.955 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.2064, allocations: 0.6129 MB / 0.9556 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.2072, allocations: 1.102 MB / 0.9567 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.2087, allocations: 1.835 MB / 0.9585 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2087, allocations: 11.94 kB / 0.9585 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002298/0.211, allocations: 2.096 MB / 0.9606 GB, free: 28 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.211, allocations: 14.81 kB / 0.9606 GB, free: 16 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.2111, allocations: 20.03 kB / 0.9606 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.2118, allocations: 255.1 kB / 0.9608 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.2128, allocations: 375.4 kB / 0.9612 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.2191, allocations: 10.77 MB / 0.9717 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.22, allocations: 127.8 kB / 0.9718 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.2201, allocations: 71.98 kB / 0.9719 GB, free: 3.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.000462/0.2205, allocations: 398.2 kB / 0.9723 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.2207, allocations: 134.5 kB / 0.9724 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.223, allocations: 1.685 MB / 0.9741 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.223, allocations: 12 kB / 0.9741 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.223, allocations: 0 / 0.9741 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.2231, allocations: 11.92 kB / 0.9741 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.227, allocations: 3.288 MB / 0.9773 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.2271, allocations: 4.094 kB / 0.9773 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.2278, allocations: 227.6 kB / 0.9775 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.2284, allocations: 246.6 kB / 0.9778 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.2284, allocations: 28 kB / 0.9778 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.2346, allocations: 10.74 MB / 0.9883 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2346, allocations: 4 kB / 0.9883 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.2367, allocations: 1.8 MB / 0.99 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.2371, allocations: 311.3 kB / 0.9903 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.2372, allocations: 28 kB / 0.9904 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.2378, allocations: 95.8 kB / 0.9905 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.238, allocations: 92.77 kB / 0.9905 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.2381, allocations: 36 kB / 0.9906 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005995/0.2387, allocations: 0.6177 MB / 0.9912 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2387, allocations: 0 / 0.9912 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001018/0.2397, allocations: 392 kB / 0.9916 GB, free: 13.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002333/0.242, allocations: 2.39 MB / 0.9939 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.2448, allocations: 2.493 MB / 0.9963 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2448, allocations: 4.062 kB / 0.9963 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.2466, allocations: 1.629 MB / 0.9979 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.2485, allocations: 331.3 kB / 0.9982 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.2637, allocations: 12.59 MB / 1.011 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.2646, allocations: 1.335 MB / 1.012 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009448/0.2655, allocations: 367.3 kB / 1.012 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.2661, allocations: 0.5344 MB / 1.013 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of SimCode: time 5.72e-07/0.2661, allocations: 3.938 kB / 1.013 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6434/0.9095, allocations: 26.74 MB / 1.039 GB, free: 12.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.9098, allocations: 263.6 kB / 1.039 GB, free: 12.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/3.96, allocations: 0 / 1.039 GB, free: 12.19 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)