Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001022/0.001022, allocations: 98.83 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.001054/0.001054, 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 2.239/2.239, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.952/1.952, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0008025/0.0008027, allocations: 13.59 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3053, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04459/0.3499, allocations: 30.61 MB / 0.8171 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.3694, allocations: 9.638 MB / 0.8266 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.3735, allocations: 119.2 kB / 0.8267 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.377, allocations: 0.6832 MB / 0.8273 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007548/0.3846, allocations: 1.566 MB / 0.8289 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005236/0.3899, allocations: 1.172 MB / 0.83 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00991/0.3998, allocations: 3.893 MB / 0.8338 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02263/0.4225, allocations: 10.4 MB / 0.844 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/0.4278, allocations: 2.121 MB / 0.846 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005136/0.433, allocations: 2.207 MB / 0.8482 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.4346, allocations: 280 kB / 0.8485 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.4379, allocations: 0.5231 MB / 0.849 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.441, allocations: 1.921 MB / 0.8508 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.4435, allocations: 1.03 MB / 0.8519 GB, free: 9.492 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4553, allocations: 8.408 MB / 0.8601 GB, free: 1.062 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4554, allocations: 0 / 0.8601 GB, free: 1.062 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4554, allocations: 0 / 0.8601 GB, free: 1.062 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000444/0.4558, allocations: 0 / 0.8601 GB, free: 1.062 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01308/0.4689, allocations: 4.371 MB / 0.8643 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.469, allocations: 8.031 kB / 0.8643 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003304/0.4723, allocations: 0.7021 MB / 0.865 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.4783, allocations: 0.9149 MB / 0.8659 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008366/0.4867, allocations: 2.917 MB / 0.8688 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.4871, allocations: 361.6 kB / 0.8691 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.4888, allocations: 467.9 kB / 0.8696 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5068, allocations: 7.828 MB / 0.8772 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.507, allocations: 19.81 kB / 0.8772 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007218/0.5077, allocations: 215.9 kB / 0.8774 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005906/0.5083, allocations: 369.1 kB / 0.8778 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.5215, allocations: 5.902 MB / 0.8835 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05311/0.5747, allocations: 36.25 MB / 0.9189 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5541/1.129, allocations: 2.125 MB / 0.921 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/1.129, allocations: 16.62 kB / 0.921 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/1.129, allocations: 53.89 kB / 0.9211 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/1.129, allocations: 1.125 kB / 0.9211 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01508/1.144, allocations: 7.537 MB / 0.9284 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.144, allocations: 73.53 kB / 0.9285 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.147, allocations: 1.836 MB / 0.9303 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.147, allocations: 60.94 kB / 0.9304 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.149, allocations: 2.125 MB / 0.9324 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.15, allocations: 0.5614 MB / 0.933 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.15, allocations: 39.88 kB / 0.933 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.15, allocations: 393.1 kB / 0.9334 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.151, allocations: 1.053 MB / 0.9344 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.153, allocations: 1.746 MB / 0.9361 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/1.155, allocations: 1.346 MB / 0.9374 GB, free: 115 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.155, allocations: 7.906 kB / 0.9375 GB, free: 115 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008431/1.164, allocations: 3.901 MB / 0.9413 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/1.164, allocations: 14.75 kB / 0.9413 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-05/1.164, allocations: 23.22 kB / 0.9413 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.167, allocations: 0.9372 MB / 0.9422 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/1.169, allocations: 427.1 kB / 0.9426 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04439/1.213, allocations: 21.43 MB / 0.9635 GB, free: 94.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.217, allocations: 123.9 kB / 0.9637 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005249/1.218, allocations: 91.72 kB / 0.9638 GB, free: 94.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005511/1.224, allocations: 1.655 MB / 0.9654 GB, free: 93.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.225, allocations: 253.9 kB / 0.9656 GB, free: 93.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009493/1.234, allocations: 3.247 MB / 0.9688 GB, free: 92.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.234, allocations: 20.12 kB / 0.9688 GB, free: 92.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/1.234, allocations: 12.77 kB / 0.9688 GB, free: 92.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/1.234, allocations: 16.36 kB / 0.9688 GB, free: 92.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.256, allocations: 7.536 MB / 0.9762 GB, free: 88.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.256, allocations: 3.938 kB / 0.9762 GB, free: 88.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.258, allocations: 216.7 kB / 0.9764 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004243/1.262, allocations: 0.8921 MB / 0.9773 GB, free: 88.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.262, allocations: 39.73 kB / 0.9773 GB, free: 88.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02664/1.289, allocations: 21.38 MB / 0.9982 GB, free: 68.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.289, allocations: 5.953 kB / 0.9982 GB, free: 68.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/1.295, allocations: 3.703 MB / 1.002 GB, free: 65.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.297, allocations: 0.5293 MB / 1.002 GB, free: 64.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008055/1.297, allocations: 39.98 kB / 1.002 GB, free: 64.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.299, allocations: 87.89 kB / 1.002 GB, free: 64.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/1.299, allocations: 141 kB / 1.003 GB, free: 64.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.657e-05/1.299, allocations: 48 kB / 1.003 GB, free: 64.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001586/1.301, allocations: 1.201 MB / 1.004 GB, free: 63.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.301, allocations: 4 kB / 1.004 GB, free: 63.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00421/1.305, allocations: 0.9023 MB / 1.005 GB, free: 62.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005554/1.311, allocations: 5.423 MB / 1.01 GB, free: 56.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005933/1.317, allocations: 4.407 MB / 1.014 GB, free: 52.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.317, allocations: 0 / 1.014 GB, free: 52.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004291/1.321, allocations: 2.999 MB / 1.017 GB, free: 49.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.325, allocations: 0.7467 MB / 1.018 GB, free: 48.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/1.361, allocations: 36.51 MB / 1.054 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/1.365, allocations: 3.298 MB / 1.057 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00212/1.367, allocations: 0.5254 MB / 1.057 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.369, allocations: 1.659 MB / 1.059 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of SimCode: time 1.763e-06/1.369, allocations: 0 / 1.059 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.497, allocations: 68.66 MB / 1.126 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.497, allocations: 230.2 kB / 1.126 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/5.399, allocations: 0 / 1.126 GB, free: 0.6094 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: