Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.524/1.524, allocations: 252 MB / 267.3 MB, free: 10.86 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.001041/0.001041, allocations: 173.3 kB / 327 MB, free: 2.113 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.178/2.178, allocations: 205.4 MB / 0.578 GB, free: 20.2 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.0009391/0.0009392, allocations: 90.25 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 11.88 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2868, allocations: 106.4 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01576/0.3027, allocations: 16.05 MB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009974/0.3127, allocations: 6.26 MB / 0.9227 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.3145, allocations: 47.81 kB / 0.9228 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.3154, allocations: 309.7 kB / 0.9231 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3176, allocations: 0.8057 MB / 0.9238 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.3205, allocations: 1.066 MB / 0.9249 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004724/0.3252, allocations: 5.786 MB / 0.9305 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007817/0.333, allocations: 6.146 MB / 0.9365 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.3355, allocations: 1.168 MB / 0.9377 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.3385, allocations: 1.721 MB / 0.9394 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008917/0.3394, allocations: 164 kB / 0.9395 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.3418, allocations: 0.7448 MB / 0.9402 GB, free: 23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.344, allocations: 1.208 MB / 0.9414 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.3464, allocations: 1.25 MB / 0.9426 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.351, allocations: 5.277 MB / 0.9478 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3511, allocations: 3.938 kB / 0.9478 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3511, allocations: 0 / 0.9478 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000113/0.3512, allocations: 0 / 0.9478 GB, free: 15.23 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004537/0.3558, allocations: 2.199 MB / 0.9499 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3558, allocations: 8.031 kB / 0.9499 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004978/0.3563, allocations: 403.7 kB / 0.9503 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.3598, allocations: 0.7978 MB / 0.9511 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.362, allocations: 1.407 MB / 0.9525 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3621, allocations: 193.5 kB / 0.9527 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.3625, allocations: 252.4 kB / 0.9529 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/0.3693, allocations: 4.58 MB / 0.9574 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.3694, allocations: 15.92 kB / 0.9574 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3697, allocations: 108 kB / 0.9575 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.3699, allocations: 176.3 kB / 0.9577 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/0.3753, allocations: 3.831 MB / 0.9614 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.4012, allocations: 21.44 MB / 0.9824 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.4042, allocations: 2.253 MB / 0.9846 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.4053, allocations: 0.7063 MB / 0.9852 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.4053, allocations: 15.92 kB / 0.9853 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.4054, allocations: 58.48 kB / 0.9853 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 4.859e-06/0.4054, allocations: 0 / 0.9853 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.006869/0.4123, allocations: 4.192 MB / 0.9894 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.4125, allocations: 239.3 kB / 0.9896 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.4141, allocations: 1.113 MB / 0.9907 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.4141, allocations: 41.64 kB / 0.9908 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/0.415, allocations: 1.187 MB / 0.9919 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.4153, allocations: 252.6 kB / 0.9922 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.4154, allocations: 32 kB / 0.9922 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.4156, allocations: 410.7 kB / 0.9926 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.4166, allocations: 0.6987 MB / 0.9933 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4181, allocations: 1.403 MB / 0.9946 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.421, allocations: 2.17 MB / 0.9968 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.4211, allocations: 11.94 kB / 0.9968 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003428/0.4245, allocations: 2.18 MB / 0.9989 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009059/0.4254, allocations: 0.7864 MB / 0.9997 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/0.4255, allocations: 24 kB / 0.9997 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.02e-05/0.4255, allocations: 32 kB / 0.9997 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4272, allocations: 427.2 kB / 1 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.213e-05/0.4272, allocations: 51.78 kB / 1 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.4286, allocations: 195.4 kB / 1 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.4288, allocations: 79.98 kB / 1 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4288, allocations: 4 kB / 1 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002861/0.4317, allocations: 1.851 MB / 1.002 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.4317, allocations: 27.98 kB / 1.002 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.4318, allocations: 32.88 kB / 1.002 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.433, allocations: 391.3 kB / 1.003 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.923e-05/0.4331, allocations: 47.86 kB / 1.003 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.4342, allocations: 131.5 kB / 1.003 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.4344, allocations: 87.92 kB / 1.003 GB, free: 3.031 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00272/0.4371, allocations: 1.136 MB / 1.004 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.4376, allocations: 106.7 kB / 1.004 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.4396, allocations: 1.095 MB / 1.005 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4396, allocations: 12 kB / 1.005 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4396, allocations: 0 / 1.005 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4396, allocations: 7.984 kB / 1.005 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.4549, allocations: 10.17 MB / 1.015 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.4549, allocations: 16 kB / 1.015 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.4556, allocations: 191.6 kB / 1.015 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.508e-05/0.4557, allocations: 20.81 kB / 1.015 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.4557, allocations: 32 kB / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.389e-05/0.4558, allocations: 35.86 kB / 1.015 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-05/0.4558, allocations: 27.88 kB / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.4582, allocations: 2.166 MB / 1.018 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007765/0.459, allocations: 339.5 kB / 1.018 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.4593, allocations: 39.98 kB / 1.018 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.4605, allocations: 95.86 kB / 1.018 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.4607, allocations: 95.56 kB / 1.018 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.4608, allocations: 44 kB / 1.018 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001613/0.4624, allocations: 0.7659 MB / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4624, allocations: 0 / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003951/0.4663, allocations: 0.7305 MB / 1.02 GB, free: 1.395 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/0.4699, allocations: 2.742 MB / 1.022 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004779/0.4747, allocations: 2.479 MB / 1.025 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/0.4748, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/0.4757, allocations: 0.5699 MB / 1.025 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/0.48, allocations: 254 kB / 1.026 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.5124, allocations: 16.47 MB / 1.042 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/0.516, allocations: 2.011 MB / 1.044 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002501/0.5185, allocations: 0.8599 MB / 1.044 GB, free: 6.465 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.5199, allocations: 0.7317 MB / 1.045 GB, free: 5.734 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.52, allocations: 0 / 1.045 GB, free: 5.734 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/1.057, allocations: 27.52 MB / 1.072 GB, free: 133 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.057, allocations: 245.4 kB / 1.072 GB, free: 132.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/3.943, allocations: 0 / 1.072 GB, free: 132.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)