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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001275/0.001275, allocations: 193.1 kB / 16.13 MB, free: 6.707 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.321/1.321, allocations: 205.1 MB / 222 MB, free: 4.789 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.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001402/0.001402, allocations: 73.06 kB / 0.671 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2294, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03188/0.2614, allocations: 32.88 MB / 0.8149 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.2812, allocations: 14.87 MB / 0.8294 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.2839, allocations: 151.1 kB / 0.8296 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007174/0.2911, allocations: 3.382 MB / 0.8329 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.2977, allocations: 2.693 MB / 0.8355 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.3024, allocations: 2.127 MB / 0.8376 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3137, allocations: 12.21 MB / 0.8495 GB, free: 9.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.326, allocations: 10.35 MB / 0.8596 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.3309, allocations: 3.437 MB / 0.863 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.3353, allocations: 4.096 MB / 0.867 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007243/0.336, allocations: 484 kB / 0.8675 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.339, allocations: 1.739 MB / 0.8691 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002122/0.3411, allocations: 2.588 MB / 0.8717 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.3442, allocations: 3.115 MB / 0.8747 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009788/0.354, allocations: 11 MB / 0.8855 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.354, allocations: 0 / 0.8855 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.854e-06/0.354, allocations: 0 / 0.8855 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002645/0.3543, allocations: 0 / 0.8855 GB, free: 4.383 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.01147/0.3657, allocations: 5.979 MB / 0.8913 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3658, allocations: 8.031 kB / 0.8913 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000977/0.3668, allocations: 0.7271 MB / 0.892 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0063/0.3731, allocations: 1.138 MB / 0.8931 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.3788, allocations: 3.325 MB / 0.8964 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.379, allocations: 374.4 kB / 0.8967 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007189/0.3797, allocations: 499.8 kB / 0.8972 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.3917, allocations: 8.009 MB / 0.905 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.3918, allocations: 23.75 kB / 0.9051 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.3923, allocations: 215.9 kB / 0.9053 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.3933, allocations: 437.5 kB / 0.9057 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009083/0.4024, allocations: 6.088 MB / 0.9116 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4422/0.8446, allocations: 35.14 MB / 0.9459 GB, free: 99.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.847, allocations: 2.022 MB / 0.9479 GB, free: 99.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.8492, allocations: 1.875 MB / 0.9497 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.8493, allocations: 16.81 kB / 0.9498 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.8494, allocations: 57.03 kB / 0.9498 GB, free: 98.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.025e-06/0.8494, allocations: 0 / 0.9498 GB, free: 98.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1354/0.9848, allocations: 38.89 MB / 0.9878 GB, free: 80.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.9849, allocations: 81.52 kB / 0.9879 GB, free: 80.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.9874, allocations: 2.278 MB / 0.9901 GB, free: 78.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.9875, allocations: 73.7 kB / 0.9902 GB, free: 78.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/0.9884, allocations: 2.276 MB / 0.9924 GB, free: 75.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.9889, allocations: 0.9337 MB / 0.9933 GB, free: 75.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007612/0.9897, allocations: 0.5061 MB / 0.9938 GB, free: 74.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.9897, allocations: 305.1 kB / 0.9941 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.9918, allocations: 1.97 MB / 0.996 GB, free: 72.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.9942, allocations: 2.602 MB / 0.9986 GB, free: 69.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.9989, allocations: 4.933 MB / 1.003 GB, free: 64.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.9989, allocations: 8 kB / 1.003 GB, free: 64.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01138/1.01, allocations: 7.752 MB / 1.011 GB, free: 56.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.01, allocations: 16.03 kB / 1.011 GB, free: 56.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.01, allocations: 16 kB / 1.011 GB, free: 56.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008014/1.018, allocations: 3.22 MB / 1.014 GB, free: 53.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.02, allocations: 399.3 kB / 1.015 GB, free: 52.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/1.051, allocations: 31.08 MB / 1.045 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.054, allocations: 171 kB / 1.045 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.054, allocations: 108 kB / 1.045 GB, free: 20.54 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.002191/1.056, allocations: 1.793 MB / 1.047 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/1.057, allocations: 328.2 kB / 1.047 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.068, allocations: 7.372 MB / 1.054 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.068, allocations: 24.5 kB / 1.054 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/1.068, allocations: 32 kB / 1.054 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.068, allocations: 15.94 kB / 1.054 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/1.085, allocations: 12.92 MB / 1.067 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.086, allocations: 8 kB / 1.067 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/1.086, allocations: 231.6 kB / 1.067 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008005/1.094, allocations: 2.86 MB / 1.07 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/1.095, allocations: 52 kB / 1.07 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0371/1.132, allocations: 29.88 MB / 1.099 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.132, allocations: 11.94 kB / 1.099 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.144, allocations: 6.89 MB / 1.106 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.145, allocations: 0.7744 MB / 1.107 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/1.146, allocations: 63.92 kB / 1.107 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.147, allocations: 163.8 kB / 1.107 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008645/1.148, allocations: 253.4 kB / 1.107 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.148, allocations: 76 kB / 1.107 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001994/1.15, allocations: 1.525 MB / 1.109 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/1.15, allocations: 0 / 1.109 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003528/1.154, allocations: 1.371 MB / 1.11 GB, free: 0.6328 MB / 0.7794 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.01161/1.165, allocations: 7.517 MB / 1.118 GB, free: 8.891 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.176, allocations: 6.898 MB / 1.124 GB, free: 1.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.176, allocations: 0 / 1.124 GB, free: 1.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006803/1.183, allocations: 4.411 MB / 1.129 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/1.187, allocations: 1.035 MB / 1.13 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06752/1.254, allocations: 46.04 MB / 1.175 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.258, allocations: 3.639 MB / 1.178 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001976/1.26, allocations: 0.5556 MB / 1.179 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.262, allocations: 1.972 MB / 1.181 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/1.262, allocations: 0 / 1.181 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4664/1.728, allocations: 110 MB / 1.288 GB, free: 308.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.729, allocations: 244.7 kB / 1.288 GB, free: 308.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/5.638, allocations: 0 / 1.288 GB, free: 308.1 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)