Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.00102/0.001021, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.575/1.575, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001331/0.001331, allocations: 68.72 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1634, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03217/0.1956, allocations: 33.18 MB / 0.8159 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.2147, allocations: 14.91 MB / 0.8304 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.217, allocations: 159.1 kB / 0.8306 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007691/0.2247, allocations: 3.649 MB / 0.8342 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.2308, allocations: 2.89 MB / 0.837 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.2354, allocations: 2.327 MB / 0.8393 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007974/0.2433, allocations: 8.807 MB / 0.8479 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009139/0.2525, allocations: 9.636 MB / 0.8573 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.257, allocations: 3.946 MB / 0.8611 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.261, allocations: 4.049 MB / 0.8651 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000838/0.2618, allocations: 0.7148 MB / 0.8658 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.2645, allocations: 1.709 MB / 0.8674 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.2667, allocations: 2.826 MB / 0.8702 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003462/0.2702, allocations: 3.388 MB / 0.8735 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.2789, allocations: 11.11 MB / 0.8844 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2789, allocations: 4 kB / 0.8844 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2789, allocations: 4 kB / 0.8844 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001203/0.279, allocations: 4 kB / 0.8844 GB, free: 5.652 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.009198/0.2882, allocations: 5.975 MB / 0.8902 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2883, allocations: 12.03 kB / 0.8902 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008229/0.2891, allocations: 0.7309 MB / 0.8909 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.2947, allocations: 1.134 MB / 0.892 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.2995, allocations: 3.328 MB / 0.8953 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.2998, allocations: 370.4 kB / 0.8956 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/0.3004, allocations: 0.492 MB / 0.8961 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3105, allocations: 8.001 MB / 0.9039 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/0.3106, allocations: 31.67 kB / 0.904 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.3111, allocations: 220 kB / 0.9042 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009429/0.312, allocations: 437.6 kB / 0.9046 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008189/0.3202, allocations: 6.081 MB / 0.9105 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3378/0.6581, allocations: 35.15 MB / 0.9449 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.6602, allocations: 2.028 MB / 0.9468 GB, free: 99.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.6621, allocations: 1.863 MB / 0.9487 GB, free: 99.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.6622, allocations: 18.34 kB / 0.9487 GB, free: 99.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.6623, allocations: 61.91 kB / 0.9487 GB, free: 98.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.116e-06/0.6623, allocations: 0 / 0.9487 GB, free: 98.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1339/0.7962, allocations: 38.89 MB / 0.9867 GB, free: 81.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.7962, allocations: 81.58 kB / 0.9868 GB, free: 81.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.7984, allocations: 2.284 MB / 0.989 GB, free: 79.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.7986, allocations: 73.7 kB / 0.9891 GB, free: 79.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.7994, allocations: 2.271 MB / 0.9913 GB, free: 77.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.7998, allocations: 0.9376 MB / 0.9922 GB, free: 76.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000706/0.8006, allocations: 0.4984 MB / 0.9927 GB, free: 75.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.418e-05/0.8006, allocations: 305.1 kB / 0.993 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.8026, allocations: 1.981 MB / 0.9949 GB, free: 73.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.8047, allocations: 2.602 MB / 0.9975 GB, free: 70.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004372/0.8091, allocations: 4.933 MB / 1.002 GB, free: 65.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.8091, allocations: 4 kB / 1.002 GB, free: 65.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01087/0.82, allocations: 7.752 MB / 1.01 GB, free: 57.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.82, allocations: 12 kB / 1.01 GB, free: 57.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.8201, allocations: 20 kB / 1.01 GB, free: 57.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007191/0.8273, allocations: 3.249 MB / 1.013 GB, free: 54.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.8286, allocations: 403.3 kB / 1.013 GB, free: 53.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03173/0.8603, allocations: 33.9 MB / 1.047 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.863, allocations: 159.8 kB / 1.047 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.8632, allocations: 108 kB / 1.047 GB, free: 18.83 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002101/0.8653, allocations: 1.8 MB / 1.049 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.8657, allocations: 332.1 kB / 1.049 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.876, allocations: 7.356 MB / 1.056 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.8761, allocations: 24 kB / 1.056 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.8761, allocations: 35.98 kB / 1.056 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.8761, allocations: 15.95 kB / 1.056 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.8929, allocations: 12.92 MB / 1.069 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.8929, allocations: 4.844 kB / 1.069 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.8937, allocations: 235.5 kB / 1.069 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007175/0.9009, allocations: 2.876 MB / 1.072 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.9011, allocations: 52 kB / 1.072 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03713/0.9382, allocations: 32.69 MB / 1.104 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.9383, allocations: 15.94 kB / 1.104 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.9491, allocations: 6.879 MB / 1.111 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.9504, allocations: 0.7804 MB / 1.111 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.9508, allocations: 59.92 kB / 1.111 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.9525, allocations: 171.8 kB / 1.111 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006575/0.9531, allocations: 249.4 kB / 1.112 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.9533, allocations: 80 kB / 1.112 GB, free: 14.96 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001993/0.9553, allocations: 1.529 MB / 1.113 GB, free: 13.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9553, allocations: 0 / 1.113 GB, free: 13.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003038/0.9583, allocations: 1.367 MB / 1.115 GB, free: 12.06 MB / 0.795 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/0.9693, allocations: 7.512 MB / 1.122 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.982, allocations: 8.371 MB / 1.13 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.982, allocations: 4 kB / 1.13 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006656/0.9887, allocations: 4.413 MB / 1.134 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.993, allocations: 1.121 MB / 1.136 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05891/1.052, allocations: 43.84 MB / 1.178 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/1.057, allocations: 3.636 MB / 1.182 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001914/1.058, allocations: 0.5556 MB / 1.182 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/1.061, allocations: 1.975 MB / 1.184 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of SimCode: time 3.677e-06/1.061, allocations: 0 / 1.184 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.052/6.113, allocations: 112.6 MB / 1.294 GB, free: 319 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/21, allocations: 5.312 kB / 1.294 GB, free: 319 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)