Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008936/0.0008936, allocations: 168.7 kB / 15.95 MB, free: 204 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.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.7/1.7, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005781/0.0005781, allocations: 11.25 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2557, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03257/0.2883, allocations: 31.65 MB / 0.8182 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3048, allocations: 11.04 MB / 0.829 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.3084, allocations: 135.2 kB / 0.8291 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.311, allocations: 0.6821 MB / 0.8298 GB, free: 308 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006236/0.3173, allocations: 1.574 MB / 0.8313 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.3226, allocations: 1.432 MB / 0.8327 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.3343, allocations: 9.626 MB / 0.8421 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.3546, allocations: 12.57 MB / 0.8544 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005089/0.3597, allocations: 2.65 MB / 0.857 GB, free: 4.336 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005831/0.3656, allocations: 3.477 MB / 0.8604 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.367, allocations: 328 kB / 0.8607 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.3702, allocations: 0.9599 MB / 0.8616 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003081/0.3733, allocations: 2.451 MB / 0.864 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3756, allocations: 1.108 MB / 0.8651 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.3865, allocations: 9.931 MB / 0.8748 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3866, allocations: 0 / 0.8748 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3866, allocations: 0 / 0.8748 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003435/0.3869, allocations: 0 / 0.8748 GB, free: 2.035 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01045/0.3974, allocations: 4.706 MB / 0.8794 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3975, allocations: 12.03 kB / 0.8794 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.404, allocations: 1.066 MB / 0.8805 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006542/0.4106, allocations: 3.2 MB / 0.8836 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.4109, allocations: 415 kB / 0.884 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/0.4124, allocations: 0.5388 MB / 0.8845 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.4308, allocations: 9.032 MB / 0.8933 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/0.431, allocations: 27.77 kB / 0.8934 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005624/0.4315, allocations: 232 kB / 0.8936 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003827/0.4319, allocations: 350.8 kB / 0.8939 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.4445, allocations: 6.791 MB / 0.9005 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5274/0.9719, allocations: 40.18 MB / 0.9398 GB, free: 75.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/0.9757, allocations: 3.1 MB / 0.9428 GB, free: 74.13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003235/0.979, allocations: 1.955 MB / 0.9447 GB, free: 73.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.9791, allocations: 23.09 kB / 0.9447 GB, free: 73.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.9792, allocations: 51.33 kB / 0.9448 GB, free: 73.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.489e-06/0.9792, allocations: 0.7188 kB / 0.9448 GB, free: 73.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02407/1.003, allocations: 9.868 MB / 0.9544 GB, free: 69.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.003, allocations: 74.62 kB / 0.9545 GB, free: 69.47 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/1.006, allocations: 1.512 MB / 0.956 GB, free: 68.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.006, allocations: 55.92 kB / 0.956 GB, free: 68.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.007, allocations: 2.255 MB / 0.9582 GB, free: 66.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/1.008, allocations: 0.6306 MB / 0.9588 GB, free: 66.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.008, allocations: 45.28 kB / 0.9589 GB, free: 65.99 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.008, allocations: 400.8 kB / 0.9593 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/1.01, allocations: 1.168 MB / 0.9604 GB, free: 65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.012, allocations: 1.871 MB / 0.9622 GB, free: 63.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/1.013, allocations: 1.507 MB / 0.9637 GB, free: 62.64 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.014, allocations: 6.375 kB / 0.9637 GB, free: 62.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006806/1.02, allocations: 4.556 MB / 0.9682 GB, free: 60.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.02, allocations: 18.56 kB / 0.9682 GB, free: 60.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.02, allocations: 28.81 kB / 0.9682 GB, free: 60.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/1.024, allocations: 1.584 MB / 0.9698 GB, free: 59.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.025, allocations: 358.3 kB / 0.9701 GB, free: 59.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.043, allocations: 17.05 MB / 0.9867 GB, free: 47.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.045, allocations: 120.7 kB / 0.9869 GB, free: 46.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.045, allocations: 95.69 kB / 0.987 GB, free: 46.97 MB / 0.7169 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.003482/1.049, allocations: 1.892 MB / 0.9888 GB, free: 45.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/1.049, allocations: 221.8 kB / 0.989 GB, free: 45.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/1.055, allocations: 4.073 MB / 0.993 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.055, allocations: 20 kB / 0.993 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.055, allocations: 16 kB / 0.993 GB, free: 42.26 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.055, allocations: 11.97 kB / 0.993 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.068, allocations: 9.443 MB / 1.002 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.068, allocations: 4 kB / 1.002 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/1.069, allocations: 176.5 kB / 1.002 GB, free: 32.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.071, allocations: 1.352 MB / 1.004 GB, free: 31.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.072, allocations: 44 kB / 1.004 GB, free: 31.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/1.087, allocations: 15.95 MB / 1.019 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.087, allocations: 4 kB / 1.019 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/1.093, allocations: 4.058 MB / 1.023 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.095, allocations: 0.5257 MB / 1.024 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/1.095, allocations: 39.95 kB / 1.024 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/1.096, allocations: 87.89 kB / 1.024 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/1.096, allocations: 161.6 kB / 1.024 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/1.096, allocations: 52 kB / 1.024 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001233/1.098, allocations: 0.989 MB / 1.025 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 3.375 kB / 1.025 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003637/1.101, allocations: 0.9844 MB / 1.026 GB, free: 7.508 MB / 0.7169 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.0002705/1.101, allocations: 147 kB / 1.026 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005825/1.107, allocations: 4.287 MB / 1.03 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.107, allocations: 0 / 1.03 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.111, allocations: 2.669 MB / 1.033 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.115, allocations: 0.7059 MB / 1.034 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.133, allocations: 10.53 MB / 1.044 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.138, allocations: 3.573 MB / 1.047 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001639/1.139, allocations: 471.9 kB / 1.048 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/1.139, allocations: 111.4 kB / 1.048 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/1.139, allocations: 0 / 1.048 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of Templates: time 0.07219/1.212, allocations: 40.81 MB / 1.088 GB, free: 8.465 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: