Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.0009166/0.0009162, 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.0009236/0.0009235, 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.9/1.9, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.836/1.836, 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.0009744/0.0009747, allocations: 15.5 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3024, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03532/0.3378, allocations: 33.03 MB / 0.8195 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.3569, allocations: 10.72 MB / 0.83 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004702/0.3617, allocations: 131.2 kB / 0.8301 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.3652, allocations: 0.7569 MB / 0.8308 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007159/0.3723, allocations: 1.71 MB / 0.8325 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.3768, allocations: 1.293 MB / 0.8338 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007447/0.3843, allocations: 4.443 MB / 0.8381 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/0.4047, allocations: 12.64 MB / 0.8504 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00528/0.41, allocations: 2.491 MB / 0.8529 GB, free: 8.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.4152, allocations: 2.647 MB / 0.8555 GB, free: 5.824 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.4171, allocations: 352 kB / 0.8558 GB, free: 5.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.4209, allocations: 0.5971 MB / 0.8564 GB, free: 4.883 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004071/0.425, allocations: 2.303 MB / 0.8586 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.428, allocations: 1.202 MB / 0.8598 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.4393, allocations: 10.02 MB / 0.8696 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4393, allocations: 0 / 0.8696 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.467e-06/0.4393, allocations: 0 / 0.8696 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003838/0.4397, allocations: 4 kB / 0.8696 GB, free: 7.312 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01464/0.4544, allocations: 5.113 MB / 0.8746 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4544, allocations: 8.031 kB / 0.8746 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004228/0.4587, allocations: 0.8253 MB / 0.8754 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.4647, allocations: 1.019 MB / 0.8764 GB, free: 264 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008463/0.4731, allocations: 3.349 MB / 0.8797 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.4736, allocations: 423.4 kB / 0.8801 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.4754, allocations: 0.539 MB / 0.8806 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.4973, allocations: 9.283 MB / 0.8897 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.4976, allocations: 19.78 kB / 0.8897 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.4987, allocations: 244 kB / 0.8899 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006136/0.4994, allocations: 426.9 kB / 0.8903 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.5164, allocations: 7.077 MB / 0.8972 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.725/1.241, allocations: 41.36 MB / 0.9376 GB, free: 104 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/1.247, allocations: 3.102 MB / 0.9406 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.247, allocations: 26.23 kB / 0.9407 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.247, allocations: 59.67 kB / 0.9407 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.849e-06/1.247, allocations: 4 kB / 0.9407 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.06015/1.307, allocations: 10.44 MB / 0.9509 GB, free: 99.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.307, allocations: 77.11 kB / 0.951 GB, free: 99.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005793/1.313, allocations: 1.982 MB / 0.9529 GB, free: 98.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000688/1.314, allocations: 63.39 kB / 0.953 GB, free: 98.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/1.317, allocations: 2.399 MB / 0.9553 GB, free: 97.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.318, allocations: 0.7333 MB / 0.9561 GB, free: 96.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/1.319, allocations: 51.22 kB / 0.9561 GB, free: 96.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000258/1.319, allocations: 411 kB / 0.9565 GB, free: 96.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/1.323, allocations: 1.372 MB / 0.9578 GB, free: 95.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/1.328, allocations: 2.08 MB / 0.9599 GB, free: 94.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/1.333, allocations: 1.727 MB / 0.9616 GB, free: 93.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/1.333, allocations: 5.781 kB / 0.9616 GB, free: 93.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01739/1.351, allocations: 5.039 MB / 0.9665 GB, free: 90.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/1.351, allocations: 15.84 kB / 0.9665 GB, free: 90.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/1.351, allocations: 23.69 kB / 0.9665 GB, free: 90.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006741/1.358, allocations: 1.555 MB / 0.968 GB, free: 90.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/1.361, allocations: 459.5 kB / 0.9685 GB, free: 90.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03409/1.395, allocations: 17.73 MB / 0.9858 GB, free: 77.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/1.4, allocations: 146.2 kB / 0.9859 GB, free: 77.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000789/1.401, allocations: 109.4 kB / 0.986 GB, free: 77.4 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006179/1.407, allocations: 1.941 MB / 0.9879 GB, free: 76.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.408, allocations: 283.9 kB / 0.9882 GB, free: 76.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0097/1.418, allocations: 4.436 MB / 0.9925 GB, free: 73.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.418, allocations: 19.81 kB / 0.9926 GB, free: 73.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.418, allocations: 16.78 kB / 0.9926 GB, free: 73.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/1.418, allocations: 11.95 kB / 0.9926 GB, free: 73.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.432, allocations: 9.645 MB / 1.002 GB, free: 64.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.432, allocations: 4 kB / 1.002 GB, free: 64.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009248/1.433, allocations: 235 kB / 1.002 GB, free: 63.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/1.436, allocations: 1.424 MB / 1.004 GB, free: 62.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/1.436, allocations: 44 kB / 1.004 GB, free: 62.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/1.453, allocations: 17.72 MB / 1.021 GB, free: 44.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.453, allocations: 7.938 kB / 1.021 GB, free: 44.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/1.459, allocations: 4.871 MB / 1.026 GB, free: 39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.46, allocations: 0.642 MB / 1.026 GB, free: 38.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/1.461, allocations: 40 kB / 1.026 GB, free: 38.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.462, allocations: 115.9 kB / 1.027 GB, free: 38.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.462, allocations: 181.8 kB / 1.027 GB, free: 38.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.463, allocations: 60 kB / 1.027 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001422/1.464, allocations: 1.295 MB / 1.028 GB, free: 36.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/1.464, allocations: 0 / 1.028 GB, free: 36.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003286/1.467, allocations: 1.141 MB / 1.029 GB, free: 35.5 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005985/1.473, allocations: 6.586 MB / 1.036 GB, free: 28.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005904/1.479, allocations: 4.674 MB / 1.04 GB, free: 24.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.479, allocations: 0 / 1.04 GB, free: 24.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003666/1.483, allocations: 2.918 MB / 1.043 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.487, allocations: 0.8051 MB / 1.044 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05241/1.539, allocations: 41.2 MB / 1.084 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/1.544, allocations: 3.788 MB / 1.088 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002248/1.546, allocations: 0.5556 MB / 1.088 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/1.549, allocations: 1.952 MB / 1.09 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.549, allocations: 0 / 1.09 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.676, allocations: 82.28 MB / 1.17 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.677, allocations: 221.3 kB / 1.171 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/6.011, allocations: 3.594 kB / 1.171 GB, free: 1.387 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: