Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.759/2.759, allocations: 287.3 MB / 302.3 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 181 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 94.66 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007387/0.000739, allocations: 13.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2245, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02463/0.2492, allocations: 10.35 MB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.2646, allocations: 4.948 MB / 0.9932 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2662, allocations: 27.88 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.2684, allocations: 326.3 kB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.2721, allocations: 0.5257 MB / 0.9941 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.2762, allocations: 0.5704 MB / 0.9946 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.2798, allocations: 1.136 MB / 0.9958 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.2899, allocations: 3.621 MB / 0.9993 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.292, allocations: 0.6074 MB / 0.9999 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.2951, allocations: 0.6618 MB / 1.001 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.2956, allocations: 96 kB / 1.001 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.2968, allocations: 303.7 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000935/0.2978, allocations: 0.6704 MB / 1.002 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.2983, allocations: 345 kB / 1.002 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.302, allocations: 3.004 MB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3021, allocations: 0 / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3021, allocations: 0 / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.85e-05/0.3022, allocations: 4 kB / 1.005 GB, free: 0.9883 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005355/0.3076, allocations: 1.626 MB / 1.006 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3077, allocations: 11.97 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009186/0.3086, allocations: 252.2 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/0.3127, allocations: 0.4898 MB / 1.007 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.3166, allocations: 1.131 MB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3168, allocations: 111.1 kB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.3173, allocations: 159.9 kB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007966/0.3253, allocations: 2.723 MB / 1.011 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.3254, allocations: 3.938 kB / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.3257, allocations: 71.98 kB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006249/0.3264, allocations: 170.9 kB / 1.011 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006996/0.3334, allocations: 2.291 MB / 1.014 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.3545, allocations: 10.53 MB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.3565, allocations: 0.588 MB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3567, allocations: 85.11 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.3568, allocations: 42.55 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.587e-06/0.3568, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.03904/0.3958, allocations: 6.284 MB / 1.031 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.396, allocations: 81.55 kB / 1.031 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.398, allocations: 0.8984 MB / 1.032 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.3982, allocations: 29.7 kB / 1.032 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.3991, allocations: 0.7577 MB / 1.032 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.3994, allocations: 189.4 kB / 1.033 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3996, allocations: 16 kB / 1.033 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.3998, allocations: 386.8 kB / 1.033 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.4018, allocations: 0.6421 MB / 1.034 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.4041, allocations: 1.011 MB / 1.035 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.4065, allocations: 0.818 MB / 1.035 GB, free: 228 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.4065, allocations: 4 kB / 1.035 GB, free: 224 kB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0172/0.4237, allocations: 3.221 MB / 1.039 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002336/0.4261, allocations: 4.535 MB / 1.043 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.4262, allocations: 12 kB / 1.043 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.4415, allocations: 1.86 MB / 1.045 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.4432, allocations: 227.6 kB / 1.045 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02628/0.4695, allocations: 10.5 MB / 1.055 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4718, allocations: 175.5 kB / 1.056 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.472, allocations: 47.98 kB / 1.056 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4721, allocations: 4.062 kB / 1.056 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0135/0.4856, allocations: 2.629 MB / 1.058 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-05/0.4857, allocations: 12 kB / 1.058 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009982/0.4957, allocations: 1.204 MB / 1.059 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.4976, allocations: 259.5 kB / 1.06 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.5115, allocations: 5.692 MB / 1.065 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.5134, allocations: 143.7 kB / 1.065 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.5136, allocations: 47.98 kB / 1.065 GB, free: 468 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.6508/1.164, allocations: 0.8393 MB / 1.066 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/1.165, allocations: 79.78 kB / 1.066 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/1.181, allocations: 2.693 MB / 1.069 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/1.181, allocations: 6.578 kB / 1.069 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.181, allocations: 1.125 kB / 1.069 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.181, allocations: 3.641 kB / 1.069 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.201, allocations: 4.528 MB / 1.073 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.201, allocations: 4.828 kB / 1.073 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/1.202, allocations: 95.77 kB / 1.073 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/1.216, allocations: 1.706 MB / 1.075 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.216, allocations: 9.5 kB / 1.075 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/1.238, allocations: 10.06 MB / 1.085 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.238, allocations: 3.125 kB / 1.085 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.253, allocations: 2.753 MB / 1.088 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/1.254, allocations: 283.5 kB / 1.088 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.254, allocations: 12.97 kB / 1.088 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.256, allocations: 134.5 kB / 1.088 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/1.257, allocations: 46.56 kB / 1.088 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/1.257, allocations: 15.61 kB / 1.088 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001535/1.258, allocations: 0.6346 MB / 1.089 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.944e-06/1.258, allocations: 0 / 1.089 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003729/1.262, allocations: 0.5924 MB / 1.089 GB, free: 72.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01531/1.277, allocations: 3.891 MB / 1.093 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008725/1.286, allocations: 3.262 MB / 1.096 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.286, allocations: 2.297 kB / 1.096 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/1.29, allocations: 1.277 MB / 1.097 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.291, allocations: 219.3 kB / 1.098 GB, free: 68.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/1.327, allocations: 17.46 MB / 1.115 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/1.329, allocations: 1.654 MB / 1.116 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002308/1.331, allocations: 490 kB / 1.117 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.332, allocations: 493.5 kB / 1.117 GB, free: 54.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/1.332, allocations: 0 / 1.117 GB, free: 54.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.45, allocations: 34.4 MB / 1.151 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/1.451, allocations: 238.8 kB / 1.151 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.895, allocations: 7.938 kB / 1.151 GB, free: 27.18 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)