Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 96.19 kB / 15.68 MB, free: 488 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.00169/0.00169, allocations: 174.4 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6764/0.6764, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 8 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 77.16 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005807/0.1967, allocations: 5.251 MB / 0.562 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.2013, allocations: 2.964 MB / 0.5649 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.2018, allocations: 27.75 kB / 0.5649 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2021, allocations: 115.2 kB / 0.565 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009862/0.2031, allocations: 350.9 kB / 0.5653 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.2043, allocations: 382.3 kB / 0.5657 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009172/0.2053, allocations: 0.6532 MB / 0.5664 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.2068, allocations: 0.9054 MB / 0.5672 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.2073, allocations: 330.8 kB / 0.5675 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.2078, allocations: 346.7 kB / 0.5679 GB, free: 264 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.2079, allocations: 28 kB / 0.5679 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.2084, allocations: 203.7 kB / 0.5681 GB, free: 32 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.2087, allocations: 235.3 kB / 0.5683 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2088, allocations: 161.3 kB / 0.5685 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.2096, allocations: 0.8456 MB / 0.5693 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2096, allocations: 0 / 0.5693 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2096, allocations: 0 / 0.5693 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.2096, allocations: 0 / 0.5693 GB, free: 14.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001416/0.2111, allocations: 0.9153 MB / 0.5702 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2111, allocations: 8.031 kB / 0.5702 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.2123, allocations: 202.8 kB / 0.5704 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.2132, allocations: 0.5287 MB / 0.5709 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.2132, allocations: 49.3 kB / 0.571 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.2133, allocations: 56 kB / 0.571 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2146, allocations: 1.026 MB / 0.572 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.2147, allocations: 11.89 kB / 0.572 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.2147, allocations: 27.98 kB / 0.5721 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.865e-05/0.2148, allocations: 69.27 kB / 0.5721 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.2158, allocations: 0.6879 MB / 0.5728 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.2204, allocations: 5.756 MB / 0.5784 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.2213, allocations: 0.6054 MB / 0.579 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.2213, allocations: 11.92 kB / 0.579 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2213, allocations: 42.52 kB / 0.5791 GB, free: 4.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.2214, allocations: 0 / 0.5791 GB, free: 4.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003821/0.2252, allocations: 1.902 MB / 0.5809 GB, free: 2.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2252, allocations: 55.41 kB / 0.581 GB, free: 2.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.2257, allocations: 454.8 kB / 0.5814 GB, free: 1.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.2258, allocations: 33.7 kB / 0.5814 GB, free: 1.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2261, allocations: 391 kB / 0.5818 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.2262, allocations: 153.9 kB / 0.582 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.2262, allocations: 8 kB / 0.582 GB, free: 1.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2264, allocations: 370.7 kB / 0.5823 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.2267, allocations: 225.2 kB / 0.5825 GB, free: 436 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3635/0.5902, allocations: 437 kB / 0.5829 GB, free: 32.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.591, allocations: 298.2 kB / 0.5832 GB, free: 32.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.591, allocations: 1.719 kB / 0.5832 GB, free: 32.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002446/0.5935, allocations: 0.9834 MB / 0.5842 GB, free: 32.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.5935, allocations: 8.031 kB / 0.5842 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.5936, allocations: 8.344 kB / 0.5842 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000965/0.5945, allocations: 265.1 kB / 0.5845 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.595, allocations: 102.6 kB / 0.5846 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.601, allocations: 6.755 MB / 0.5912 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.6015, allocations: 29.55 kB / 0.5912 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.6016, allocations: 25.62 kB / 0.5912 GB, free: 26.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004079/0.602, allocations: 242.9 kB / 0.5914 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6021, allocations: 59.94 kB / 0.5915 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.6038, allocations: 0.8338 MB / 0.5923 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6038, allocations: 5 kB / 0.5923 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6038, allocations: 3.625 kB / 0.5923 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.6039, allocations: 2.625 kB / 0.5923 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.6068, allocations: 1.714 MB / 0.594 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6068, allocations: 2.094 kB / 0.594 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.607, allocations: 50.33 kB / 0.594 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.6079, allocations: 246.3 kB / 0.5943 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.6079, allocations: 7.719 kB / 0.5943 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005472/0.6134, allocations: 6.459 MB / 0.6006 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.6134, allocations: 3.797 kB / 0.6006 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6153, allocations: 0.9712 MB / 0.6015 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.6156, allocations: 169.4 kB / 0.6017 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.6157, allocations: 12.44 kB / 0.6017 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.616, allocations: 27.08 kB / 0.6017 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.6161, allocations: 38.67 kB / 0.6018 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.6162, allocations: 12.88 kB / 0.6018 GB, free: 18.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005462/0.6167, allocations: 307.2 kB / 0.6021 GB, free: 18.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6167, allocations: 0 / 0.6021 GB, free: 18.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001147/0.6179, allocations: 186.9 kB / 0.6023 GB, free: 18.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.6181, allocations: 116.9 kB / 0.6024 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.6201, allocations: 1.135 MB / 0.6035 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6201, allocations: 0.5938 kB / 0.6035 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6211, allocations: 0.8061 MB / 0.6043 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.622, allocations: 184.5 kB / 0.6045 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.6245, allocations: 1.456 MB / 0.6059 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.6253, allocations: 1.009 MB / 0.6069 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.6258, allocations: 108 kB / 0.607 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6259, allocations: 41.55 kB / 0.607 GB, free: 15.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6259, allocations: 0 / 0.607 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01907/0.645, allocations: 8.634 MB / 0.6154 GB, free: 12.98 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)