Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.352/1.352, allocations: 252 MB / 267 MB, free: 10.97 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.0009127/0.0009126, allocations: 177.7 kB / 326.6 MB, free: 2.246 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.855/1.855, allocations: 205.4 MB / 0.5777 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.0007926/0.0007929, allocations: 96 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 12.88 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02548/0.274, allocations: 31.65 MB / 0.9312 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.2901, allocations: 11.06 MB / 0.942 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.2935, allocations: 139.2 kB / 0.9422 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.2962, allocations: 0.6821 MB / 0.9428 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.3013, allocations: 1.574 MB / 0.9444 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.3067, allocations: 1.436 MB / 0.9458 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00977/0.3165, allocations: 9.622 MB / 0.9552 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01968/0.3362, allocations: 12.55 MB / 0.9674 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006776/0.343, allocations: 2.661 MB / 0.97 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006985/0.35, allocations: 3.473 MB / 0.9734 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.3515, allocations: 332 kB / 0.9737 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.3553, allocations: 0.9676 MB / 0.9747 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.3589, allocations: 2.447 MB / 0.9771 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.3613, allocations: 1.104 MB / 0.9781 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.3745, allocations: 9.931 MB / 0.9878 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3745, allocations: 0 / 0.9878 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3745, allocations: 3.938 kB / 0.9878 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004847/0.375, allocations: 0 / 0.9878 GB, free: 5.918 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01375/0.3888, allocations: 4.718 MB / 0.9924 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.3889, allocations: 12.03 kB / 0.9925 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003991/0.3929, allocations: 0.8087 MB / 0.9932 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008916/0.4018, allocations: 1.051 MB / 0.9943 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007964/0.4098, allocations: 3.196 MB / 0.9974 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/0.4103, allocations: 419.1 kB / 0.9978 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.4126, allocations: 0.5389 MB / 0.9983 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.4371, allocations: 9.036 MB / 1.007 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.4374, allocations: 27.69 kB / 1.007 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009754/0.4384, allocations: 236 kB / 1.007 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004181/0.4388, allocations: 350.5 kB / 1.008 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4556, allocations: 6.787 MB / 1.014 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5937/1.049, allocations: 40.17 MB / 1.054 GB, free: 129.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/1.054, allocations: 3.092 MB / 1.057 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/1.057, allocations: 1.952 MB / 1.059 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/1.057, allocations: 19.72 kB / 1.059 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.057, allocations: 50.94 kB / 1.059 GB, free: 128.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 4.459e-06/1.057, allocations: 1.625 kB / 1.059 GB, free: 128.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.0294/1.086, allocations: 9.877 MB / 1.068 GB, free: 127.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/1.086, allocations: 74.77 kB / 1.068 GB, free: 127.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.089, allocations: 1.509 MB / 1.07 GB, free: 127.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002581/1.089, allocations: 55.83 kB / 1.07 GB, free: 127.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/1.091, allocations: 2.255 MB / 1.072 GB, free: 126.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006396/1.092, allocations: 0.6306 MB / 1.073 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.092, allocations: 51.19 kB / 1.073 GB, free: 125.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.092, allocations: 400.7 kB / 1.073 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/1.094, allocations: 1.17 MB / 1.074 GB, free: 125.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/1.096, allocations: 1.872 MB / 1.076 GB, free: 124.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/1.098, allocations: 1.514 MB / 1.078 GB, free: 124 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.098, allocations: 6.5 kB / 1.078 GB, free: 124 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007339/1.106, allocations: 4.557 MB / 1.082 GB, free: 122.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/1.106, allocations: 11.75 kB / 1.082 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-05/1.106, allocations: 23.53 kB / 1.082 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/1.11, allocations: 1.583 MB / 1.084 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.111, allocations: 351.7 kB / 1.084 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/1.131, allocations: 17.05 MB / 1.101 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.133, allocations: 113.9 kB / 1.101 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.134, allocations: 95.39 kB / 1.101 GB, free: 109.8 MB / 0.698 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 (177): * Single equations (assignments): 173 * 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 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003281/1.137, allocations: 1.897 MB / 1.103 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005396/1.137, allocations: 227.2 kB / 1.103 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/1.143, allocations: 4.073 MB / 1.107 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.144, allocations: 23.84 kB / 1.107 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/1.144, allocations: 15.12 kB / 1.107 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.144, allocations: 11.95 kB / 1.107 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/1.158, allocations: 9.432 MB / 1.116 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.158, allocations: 8 kB / 1.116 GB, free: 96.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/1.159, allocations: 183.7 kB / 1.116 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/1.162, allocations: 1.346 MB / 1.118 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.162, allocations: 39.95 kB / 1.118 GB, free: 95.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.178, allocations: 15.95 MB / 1.133 GB, free: 78.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.178, allocations: 4.938 kB / 1.133 GB, free: 78.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/1.184, allocations: 4.058 MB / 1.137 GB, free: 74.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.186, allocations: 0.5295 MB / 1.138 GB, free: 74.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.186, allocations: 36 kB / 1.138 GB, free: 74.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/1.187, allocations: 83.89 kB / 1.138 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/1.187, allocations: 165.7 kB / 1.138 GB, free: 73.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/1.187, allocations: 48 kB / 1.138 GB, free: 73.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001205/1.189, allocations: 0.989 MB / 1.139 GB, free: 72.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.189, allocations: 0 / 1.139 GB, free: 72.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003492/1.192, allocations: 0.9844 MB / 1.14 GB, free: 71.83 MB / 0.698 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 (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006144/1.198, allocations: 4.645 MB / 1.144 GB, free: 67.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006362/1.205, allocations: 4.284 MB / 1.149 GB, free: 62.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.205, allocations: 4 kB / 1.149 GB, free: 62.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00376/1.209, allocations: 2.679 MB / 1.151 GB, free: 60.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/1.212, allocations: 0.7052 MB / 1.152 GB, free: 59.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/1.25, allocations: 22.87 MB / 1.174 GB, free: 35.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.254, allocations: 3.573 MB / 1.178 GB, free: 31.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00165/1.256, allocations: 467.9 kB / 1.178 GB, free: 31.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.258, allocations: 1.788 MB / 1.18 GB, free: 29.31 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.258, allocations: 0 / 1.18 GB, free: 29.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.377, allocations: 70.52 MB / 1.249 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.378, allocations: 252.4 kB / 1.249 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/5.336, allocations: 0 / 1.249 GB, free: 7.133 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)