Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008244/0.0008247, allocations: 17.19 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3715, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01853/0.3901, allocations: 14.87 MB / 0.8018 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009955/0.4001, allocations: 5.942 MB / 0.8076 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.4012, allocations: 39.81 kB / 0.8076 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008215/0.4021, allocations: 333.9 kB / 0.8079 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.404, allocations: 0.6152 MB / 0.8085 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.4065, allocations: 0.9003 MB / 0.8094 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.4092, allocations: 1.719 MB / 0.8111 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007563/0.4168, allocations: 5.244 MB / 0.8162 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4185, allocations: 0.9463 MB / 0.8171 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.42, allocations: 1.102 MB / 0.8182 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.4202, allocations: 163.9 kB / 0.8184 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.4211, allocations: 383.6 kB / 0.8187 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.4224, allocations: 1.119 MB / 0.8198 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.423, allocations: 0.5043 MB / 0.8203 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.4278, allocations: 4.609 MB / 0.8248 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4278, allocations: 4 kB / 0.8248 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4278, allocations: 0 / 0.8248 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001517/0.4279, allocations: 0 / 0.8248 GB, free: 5.23 MB / 0.6387 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.005493/0.4334, allocations: 2.227 MB / 0.827 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4335, allocations: 12.03 kB / 0.827 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007193/0.4342, allocations: 403.5 kB / 0.8274 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.4382, allocations: 0.8242 MB / 0.8282 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.4414, allocations: 1.391 MB / 0.8296 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4415, allocations: 189.2 kB / 0.8297 GB, free: 84 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.4419, allocations: 248 kB / 0.83 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/0.4492, allocations: 4.545 MB / 0.8344 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/0.4493, allocations: 11.84 kB / 0.8344 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.4496, allocations: 120 kB / 0.8345 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.4498, allocations: 176.2 kB / 0.8347 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006368/0.4562, allocations: 3.811 MB / 0.8384 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.4806, allocations: 21.44 MB / 0.8594 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.4836, allocations: 2.242 MB / 0.8616 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.4837, allocations: 19.98 kB / 0.8616 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.4837, allocations: 46.36 kB / 0.8616 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 3.366e-06/0.4838, allocations: 0 / 0.8616 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006872/0.4906, allocations: 4.21 MB / 0.8657 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.4909, allocations: 243.3 kB / 0.866 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.4926, allocations: 1.097 MB / 0.867 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.4927, allocations: 37.7 kB / 0.8671 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.4939, allocations: 1.195 MB / 0.8682 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.4943, allocations: 260.5 kB / 0.8685 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.4944, allocations: 32 kB / 0.8685 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.4946, allocations: 410.7 kB / 0.8689 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.4957, allocations: 0.7026 MB / 0.8696 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.4973, allocations: 1.395 MB / 0.871 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.4988, allocations: 0.9906 MB / 0.8719 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.4988, allocations: 8 kB / 0.8719 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003191/0.502, allocations: 2.183 MB / 0.8741 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00508/0.5071, allocations: 9.398 MB / 0.8832 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/0.5071, allocations: 24 kB / 0.8833 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-05/0.5072, allocations: 36 kB / 0.8833 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.5089, allocations: 431.2 kB / 0.8837 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.371e-05/0.5089, allocations: 47.8 kB / 0.8837 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.5104, allocations: 195.3 kB / 0.8839 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5105, allocations: 83.98 kB / 0.884 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5105, allocations: 4 kB / 0.884 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/0.5131, allocations: 1.852 MB / 0.8858 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.5131, allocations: 24 kB / 0.8859 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/0.5132, allocations: 40.16 kB / 0.8859 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5145, allocations: 399.2 kB / 0.8863 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-05/0.5146, allocations: 43.86 kB / 0.8863 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5156, allocations: 139.5 kB / 0.8864 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.5158, allocations: 79.98 kB / 0.8865 GB, free: 2.266 MB / 0.7012 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.002064/0.5178, allocations: 1.133 MB / 0.8876 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.5183, allocations: 107 kB / 0.8877 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.5201, allocations: 1.112 MB / 0.8888 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5202, allocations: 19.88 kB / 0.8888 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.5202, allocations: 4 kB / 0.8888 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.5202, allocations: 3.984 kB / 0.8888 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.5354, allocations: 10.28 MB / 0.8989 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/0.5354, allocations: 16 kB / 0.8989 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.5361, allocations: 191.7 kB / 0.8991 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/0.5361, allocations: 28 kB / 0.8991 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.5362, allocations: 36 kB / 0.8991 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/0.5362, allocations: 31.86 kB / 0.8992 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/0.5363, allocations: 19.94 kB / 0.8992 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.5391, allocations: 2.992 MB / 0.9021 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/0.5398, allocations: 339.5 kB / 0.9024 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.54, allocations: 31.98 kB / 0.9025 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/0.541, allocations: 99.88 kB / 0.9026 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.5411, allocations: 95.59 kB / 0.9026 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.5412, allocations: 43.95 kB / 0.9027 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001133/0.5423, allocations: 0.7619 MB / 0.9034 GB, free: 8 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5423, allocations: 4 kB / 0.9034 GB, free: 4 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00313/0.5455, allocations: 0.7266 MB / 0.9041 GB, free: 15.27 MB / 0.7325 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.006702/0.5522, allocations: 8.297 MB / 0.9123 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004582/0.5568, allocations: 2.496 MB / 0.9147 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.5568, allocations: 0 / 0.9147 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.5577, allocations: 0.581 MB / 0.9153 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.5593, allocations: 230.4 kB / 0.9155 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4749/1.034, allocations: 26.74 MB / 0.9416 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.036, allocations: 2.042 MB / 0.9436 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002321/1.039, allocations: 0.8428 MB / 0.9444 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/1.04, allocations: 0.7284 MB / 0.9451 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/1.04, allocations: 0 / 0.9451 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06415/1.104, allocations: 28.33 MB / 0.9728 GB, free: 98.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.104, allocations: 224.1 kB / 0.973 GB, free: 97.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.803, allocations: 0 / 0.973 GB, free: 97.87 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: