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.491/1.491, allocations: 252 MB / 267.3 MB, free: 10.81 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.001045/0.001045, allocations: 175 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008838/0.0008838, allocations: 86.33 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.000399, allocations: 9 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01023/0.2335, allocations: 10.52 MB / 0.9112 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00837/0.2419, allocations: 5.814 MB / 0.9169 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.2437, allocations: 47.62 kB / 0.9169 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009996/0.2447, allocations: 238 kB / 0.9171 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.2478, allocations: 1.07 MB / 0.9182 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2498, allocations: 0.7393 MB / 0.9189 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.2526, allocations: 2.852 MB / 0.9217 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003871/0.2565, allocations: 2.345 MB / 0.924 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.258, allocations: 0.7116 MB / 0.9247 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.2594, allocations: 0.8479 MB / 0.9255 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.2597, allocations: 60 kB / 0.9256 GB, free: 38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.2619, allocations: 1.435 MB / 0.927 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.2624, allocations: 474.5 kB / 0.9274 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009091/0.2634, allocations: 0.7319 MB / 0.9281 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.2663, allocations: 2.414 MB / 0.9305 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2663, allocations: 0 / 0.9305 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2664, allocations: 0 / 0.9305 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.052e-05/0.2664, allocations: 0 / 0.9305 GB, free: 32.94 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.002525/0.269, allocations: 1.607 MB / 0.9321 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.269, allocations: 8.031 kB / 0.9321 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000313/0.2693, allocations: 215.4 kB / 0.9323 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.2736, allocations: 0.6661 MB / 0.9329 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.2751, allocations: 0.9146 MB / 0.9338 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.2752, allocations: 102.8 kB / 0.9339 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.2754, allocations: 132.2 kB / 0.934 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.2781, allocations: 2.198 MB / 0.9362 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/0.2781, allocations: 15.88 kB / 0.9362 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.2783, allocations: 63.97 kB / 0.9363 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.2784, allocations: 162.3 kB / 0.9364 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.281, allocations: 1.867 MB / 0.9382 GB, free: 24.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009972/0.291, allocations: 12.49 MB / 0.9504 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.2948, allocations: 1.959 MB / 0.9524 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.2955, allocations: 0.6011 MB / 0.9529 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.2957, allocations: 106.1 kB / 0.953 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2957, allocations: 51.5 kB / 0.9531 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 3.687e-06/0.2958, allocations: 0 / 0.9531 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.005679/0.3014, allocations: 3.722 MB / 0.9567 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3015, allocations: 60.41 kB / 0.9568 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3027, allocations: 0.9165 MB / 0.9577 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.3027, allocations: 45.7 kB / 0.9577 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.3031, allocations: 0.7314 MB / 0.9584 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3034, allocations: 382.5 kB / 0.9588 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.3035, allocations: 32 kB / 0.9588 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.3035, allocations: 369.9 kB / 0.9592 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/0.3043, allocations: 0.609 MB / 0.9598 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/0.3052, allocations: 1.113 MB / 0.9609 GB, free: 60 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3076, allocations: 1.828 MB / 0.9627 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.3076, allocations: 8 kB / 0.9627 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003256/0.3109, allocations: 2.1 MB / 0.9647 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.3109, allocations: 12 kB / 0.9647 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.311, allocations: 19.94 kB / 0.9647 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.3118, allocations: 258.7 kB / 0.965 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3131, allocations: 371.3 kB / 0.9653 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.3207, allocations: 10.77 MB / 0.9759 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.322, allocations: 119.9 kB / 0.976 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3222, allocations: 71.98 kB / 0.976 GB, free: 15.16 MB / 0.6355 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.0006328/0.3228, allocations: 413.3 kB / 0.9764 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.323, allocations: 126.5 kB / 0.9766 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.3256, allocations: 1.681 MB / 0.9782 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3257, allocations: 8 kB / 0.9782 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3257, allocations: 4 kB / 0.9782 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3257, allocations: 11.97 kB / 0.9782 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.3303, allocations: 3.291 MB / 0.9814 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.3304, allocations: 4 kB / 0.9814 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/0.3313, allocations: 223.6 kB / 0.9817 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/0.332, allocations: 247.2 kB / 0.9819 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/0.332, allocations: 28 kB / 0.9819 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007571/0.3396, allocations: 10.73 MB / 0.9924 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.3397, allocations: 11.94 kB / 0.9924 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.3425, allocations: 1.8 MB / 0.9942 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.3431, allocations: 327.2 kB / 0.9945 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3433, allocations: 31.98 kB / 0.9945 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.3439, allocations: 87.81 kB / 0.9946 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.3442, allocations: 104.7 kB / 0.9947 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.3443, allocations: 28 kB / 0.9947 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007986/0.3451, allocations: 0.6255 MB / 0.9953 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3451, allocations: 0 / 0.9953 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001509/0.3466, allocations: 392 kB / 0.9957 GB, free: 9.609 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.002789/0.3494, allocations: 2.378 MB / 0.998 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.353, allocations: 2.496 MB / 1 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.353, allocations: 0 / 1 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.355, allocations: 1.626 MB / 1.002 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.3574, allocations: 343.2 kB / 1.002 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.3739, allocations: 12.64 MB / 1.015 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.3749, allocations: 1.331 MB / 1.016 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001106/0.376, allocations: 355.3 kB / 1.016 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006334/0.3766, allocations: 0.5383 MB / 1.017 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/0.3766, allocations: 4 kB / 1.017 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/0.4247, allocations: 26.75 MB / 1.043 GB, free: 8.223 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.4249, allocations: 261.6 kB / 1.043 GB, free: 7.965 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/3.43, allocations: 0 / 1.043 GB, free: 7.965 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)