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.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00206/0.00206, allocations: 169.3 kB / 326.5 MB, free: 2.227 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.701/1.701, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009364/0.0009364, allocations: 94.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 9.031 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01249/0.2443, allocations: 14.87 MB / 0.9147 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007887/0.2522, allocations: 5.95 MB / 0.9205 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2534, allocations: 39.88 kB / 0.9205 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.2541, allocations: 329.9 kB / 0.9208 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.2556, allocations: 0.6191 MB / 0.9214 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2578, allocations: 0.8992 MB / 0.9223 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.2593, allocations: 1.712 MB / 0.924 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/0.265, allocations: 5.253 MB / 0.9291 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.2662, allocations: 0.9424 MB / 0.93 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.2673, allocations: 1.106 MB / 0.9311 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2675, allocations: 160 kB / 0.9313 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.2682, allocations: 387.6 kB / 0.9316 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007857/0.269, allocations: 1.119 MB / 0.9327 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.2695, allocations: 0.5043 MB / 0.9332 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.2726, allocations: 4.617 MB / 0.9377 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2726, allocations: 0 / 0.9377 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2726, allocations: 0 / 0.9377 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.665e-05/0.2727, allocations: 0 / 0.9377 GB, free: 25.16 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.003624/0.2763, allocations: 2.223 MB / 0.9399 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2764, allocations: 12.03 kB / 0.9399 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004219/0.2768, allocations: 399.5 kB / 0.9403 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.2802, allocations: 0.8281 MB / 0.9411 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.2829, allocations: 1.387 MB / 0.9425 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.283, allocations: 189.2 kB / 0.9426 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.2833, allocations: 263.9 kB / 0.9429 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006004/0.2893, allocations: 4.538 MB / 0.9473 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/0.2894, allocations: 7.938 kB / 0.9473 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.2897, allocations: 119.9 kB / 0.9475 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.2899, allocations: 172.3 kB / 0.9476 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/0.2947, allocations: 3.81 MB / 0.9513 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.321, allocations: 21.43 MB / 0.9723 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.325, allocations: 2.244 MB / 0.9745 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.3251, allocations: 16.86 kB / 0.9745 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/0.3252, allocations: 50.48 kB / 0.9745 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=62): time 5.5e-06/0.3252, allocations: 0 / 0.9745 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.009158/0.3343, allocations: 4.212 MB / 0.9786 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.3346, allocations: 251.4 kB / 0.9789 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.337, allocations: 1.108 MB / 0.98 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3371, allocations: 41.7 kB / 0.98 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3383, allocations: 1.183 MB / 0.9812 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.3386, allocations: 252.6 kB / 0.9814 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3388, allocations: 32 kB / 0.9814 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.339, allocations: 414.7 kB / 0.9818 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.3406, allocations: 0.7065 MB / 0.9825 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.3429, allocations: 1.391 MB / 0.9839 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.345, allocations: 0.9912 MB / 0.9848 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.345, allocations: 8 kB / 0.9848 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005203/0.3502, allocations: 2.187 MB / 0.987 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005268/0.3555, allocations: 9.394 MB / 0.9962 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.719e-05/0.3557, allocations: 27.98 kB / 0.9962 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.28e-05/0.3558, allocations: 36 kB / 0.9962 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.3583, allocations: 427.2 kB / 0.9966 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.578e-05/0.3584, allocations: 51.78 kB / 0.9967 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.3604, allocations: 191.4 kB / 0.9969 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.3607, allocations: 87.97 kB / 0.9969 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3607, allocations: 4 kB / 0.9969 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003958/0.3647, allocations: 1.855 MB / 0.9988 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.031e-05/0.3648, allocations: 24 kB / 0.9988 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.67e-05/0.3648, allocations: 43.95 kB / 0.9988 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.3665, allocations: 387.3 kB / 0.9992 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-05/0.3666, allocations: 48.48 kB / 0.9992 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3679, allocations: 139.4 kB / 0.9994 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.3681, allocations: 79.98 kB / 0.9994 GB, free: 6.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002603/0.3707, allocations: 1.133 MB / 1.001 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.3712, allocations: 102.8 kB / 1.001 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.3735, allocations: 1.122 MB / 1.002 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.3736, allocations: 8 kB / 1.002 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.3736, allocations: 4 kB / 1.002 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.3736, allocations: 7.984 kB / 1.002 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.3917, allocations: 10.27 MB / 1.012 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.252e-05/0.3919, allocations: 12 kB / 1.012 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.3927, allocations: 187.7 kB / 1.012 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-05/0.3928, allocations: 24 kB / 1.012 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.3929, allocations: 36 kB / 1.012 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.242e-05/0.393, allocations: 32.42 kB / 1.012 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.477e-05/0.393, allocations: 27.83 kB / 1.012 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.3963, allocations: 2.992 MB / 1.015 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/0.3972, allocations: 343.5 kB / 1.015 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.3975, allocations: 28 kB / 1.015 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.3988, allocations: 99.86 kB / 1.015 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3989, allocations: 103.5 kB / 1.016 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.399, allocations: 43.98 kB / 1.016 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00151/0.4005, allocations: 0.7542 MB / 1.016 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4005, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004212/0.4047, allocations: 0.7305 MB / 1.017 GB, free: 3.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006428/0.4112, allocations: 8.313 MB / 1.025 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004523/0.4157, allocations: 2.491 MB / 1.028 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.412e-05/0.4158, allocations: 0 / 1.028 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.4167, allocations: 0.5782 MB / 1.028 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.4186, allocations: 238.5 kB / 1.028 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.481/0.8996, allocations: 26.73 MB / 1.055 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.9023, allocations: 2.049 MB / 1.057 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002389/0.9047, allocations: 0.8336 MB / 1.057 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.9058, allocations: 0.7324 MB / 1.058 GB, free: 140 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.9058, allocations: 0 / 1.058 GB, free: 140 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08908/0.9949, allocations: 28.35 MB / 1.086 GB, free: 128.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.995, allocations: 223.3 kB / 1.086 GB, free: 128.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.665, allocations: 0 / 1.086 GB, free: 128.1 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)