Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001172/0.001172, allocations: 99.31 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.001356/0.001356, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.959/1.959, 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.0005346/0.0005347, allocations: 23.28 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2884, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02911/0.3176, allocations: 19.84 MB / 0.8066 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.3319, allocations: 6.011 MB / 0.8125 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.3346, allocations: 75.5 kB / 0.8126 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.3364, allocations: 433.3 kB / 0.813 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.3415, allocations: 1.106 MB / 0.814 GB, free: 340 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.3451, allocations: 0.8225 MB / 0.8149 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006024/0.3512, allocations: 2.824 MB / 0.8176 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.3613, allocations: 6.212 MB / 0.8237 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.3647, allocations: 1.507 MB / 0.8251 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.3682, allocations: 1.713 MB / 0.8268 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.3687, allocations: 200 kB / 0.827 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.3701, allocations: 463.5 kB / 0.8275 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.3717, allocations: 1.567 MB / 0.829 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009041/0.3726, allocations: 0.7342 MB / 0.8297 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007058/0.3796, allocations: 5.879 MB / 0.8354 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3797, allocations: 0 / 0.8354 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3797, allocations: 3.938 kB / 0.8354 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003878/0.3801, allocations: 8 kB / 0.8355 GB, free: 10.31 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.0104/0.3905, allocations: 3.083 MB / 0.8385 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3906, allocations: 12.03 kB / 0.8385 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001714/0.3923, allocations: 0.4935 MB / 0.839 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.3986, allocations: 1.256 MB / 0.8402 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.4045, allocations: 2.161 MB / 0.8423 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.4047, allocations: 238.4 kB / 0.8425 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009333/0.4057, allocations: 316 kB / 0.8428 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.4178, allocations: 6.166 MB / 0.8488 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.418, allocations: 15.94 kB / 0.8489 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006461/0.4187, allocations: 143.9 kB / 0.849 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009342/0.4196, allocations: 414.3 kB / 0.8494 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.4367, allocations: 4.639 MB / 0.8539 GB, free: 6.996 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05303/0.4898, allocations: 29.06 MB / 0.8823 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.4933, allocations: 1.412 MB / 0.8837 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.4936, allocations: 13 kB / 0.8837 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.4937, allocations: 51.55 kB / 0.8837 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 5.48e-06/0.4937, allocations: 0 / 0.8837 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of matching and sorting (n=179): time 0.1624/0.6561, allocations: 36.3 MB / 0.9192 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.6562, allocations: 73.36 kB / 0.9193 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6757/1.332, allocations: 1.399 MB / 0.9206 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006911/1.333, allocations: 56.39 kB / 0.9207 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/1.334, allocations: 1.539 MB / 0.9222 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007751/1.335, allocations: 0.6101 MB / 0.9228 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.335, allocations: 40.66 kB / 0.9228 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.335, allocations: 385.3 kB / 0.9232 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004261/1.34, allocations: 1.776 MB / 0.9249 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/1.343, allocations: 2.337 MB / 0.9272 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/1.346, allocations: 2.058 MB / 0.9292 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/1.346, allocations: 5.719 kB / 0.9292 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02654/1.373, allocations: 8.538 MB / 0.9376 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/1.373, allocations: 12.38 kB / 0.9376 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.899e-05/1.373, allocations: 17.31 kB / 0.9376 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03081/1.404, allocations: 4.628 MB / 0.9421 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/1.407, allocations: 302.1 kB / 0.9424 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09754/1.504, allocations: 30.83 MB / 0.9725 GB, free: 99.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.509, allocations: 148.9 kB / 0.9726 GB, free: 99.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008412/1.51, allocations: 85.83 kB / 0.9727 GB, free: 99.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01013/1.52, allocations: 1.331 MB / 0.974 GB, free: 98.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.522, allocations: 195.1 kB / 0.9742 GB, free: 98.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03603/1.558, allocations: 8.423 MB / 0.9824 GB, free: 91.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/1.558, allocations: 23.95 kB / 0.9825 GB, free: 91.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000248/1.558, allocations: 31.94 kB / 0.9825 GB, free: 91.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.063e-05/1.558, allocations: 7.969 kB / 0.9825 GB, free: 91.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05182/1.61, allocations: 12.81 MB / 0.995 GB, free: 78.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.548e-05/1.61, allocations: 8 kB / 0.995 GB, free: 78.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.611, allocations: 167.7 kB / 0.9952 GB, free: 78.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03199/1.643, allocations: 4.473 MB / 0.9995 GB, free: 73.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007224/1.644, allocations: 40 kB / 0.9996 GB, free: 73.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08216/1.726, allocations: 30.46 MB / 1.029 GB, free: 42.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.727, allocations: 11.94 kB / 1.029 GB, free: 42.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03026/1.757, allocations: 8.619 MB / 1.038 GB, free: 33.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/1.76, allocations: 0.6272 MB / 1.038 GB, free: 32.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.761, allocations: 39.95 kB / 1.038 GB, free: 32.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.764, allocations: 140.7 kB / 1.039 GB, free: 32.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.765, allocations: 174 kB / 1.039 GB, free: 32.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003078/1.765, allocations: 48 kB / 1.039 GB, free: 32.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002297/1.768, allocations: 0.947 MB / 1.04 GB, free: 31.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/1.768, allocations: 0 / 1.04 GB, free: 31.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006668/1.774, allocations: 1.117 MB / 1.041 GB, free: 30.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02922/1.804, allocations: 10.98 MB / 1.051 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.824, allocations: 6.414 MB / 1.058 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-05/1.824, allocations: 4.25 kB / 1.058 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01627/1.841, allocations: 4.289 MB / 1.062 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/1.846, allocations: 466.6 kB / 1.062 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09151/1.937, allocations: 36.04 MB / 1.098 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006888/1.944, allocations: 2.797 MB / 1.1 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002632/1.947, allocations: 388.5 kB / 1.101 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/1.95, allocations: 1.214 MB / 1.102 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of SimCode: time 1.884e-06/1.95, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.222/2.172, allocations: 78.67 MB / 1.179 GB, free: 140 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/2.172, allocations: 222.9 kB / 1.179 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/6.109, allocations: 3.938 kB / 1.179 GB, free: 15.9 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: