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.ACLineMatrix_RL_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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 252 MB / 268 MB, free: 10.86 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.001059/0.001059, allocations: 170.3 kB / 327.6 MB, free: 2.098 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.478/1.478, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007651/0.0007651, allocations: 91.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 10.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1578, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01662/0.1744, allocations: 22.56 MB / 0.9235 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008507/0.183, allocations: 6.489 MB / 0.9298 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1846, allocations: 79.56 kB / 0.9299 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.1856, allocations: 468.5 kB / 0.9303 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.1886, allocations: 1.743 MB / 0.932 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1908, allocations: 1.204 MB / 0.9332 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006847/0.1977, allocations: 10.55 MB / 0.9435 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009229/0.2069, allocations: 8.043 MB / 0.9514 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.2102, allocations: 2.128 MB / 0.9535 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.2139, allocations: 3.177 MB / 0.9566 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006519/0.2146, allocations: 248 kB / 0.9568 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.2169, allocations: 1.065 MB / 0.9578 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.2187, allocations: 2.093 MB / 0.9599 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.2209, allocations: 2.12 MB / 0.962 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.2272, allocations: 7.021 MB / 0.9688 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2273, allocations: 0 / 0.9688 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2273, allocations: 0 / 0.9688 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000192/0.2275, allocations: 0 / 0.9688 GB, free: 10.26 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006892/0.2344, allocations: 3.574 MB / 0.9723 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2344, allocations: 11.97 kB / 0.9723 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008604/0.243, allocations: 1.681 MB / 0.974 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.2479, allocations: 2.571 MB / 0.9765 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.2481, allocations: 279.7 kB / 0.9767 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008356/0.249, allocations: 360.2 kB / 0.9771 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.2611, allocations: 7.483 MB / 0.9844 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-05/0.2612, allocations: 15.88 kB / 0.9844 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.2617, allocations: 159.9 kB / 0.9846 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/0.2622, allocations: 499.3 kB / 0.985 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/0.2718, allocations: 5.701 MB / 0.9906 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03163/0.3034, allocations: 31.66 MB / 1.022 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.3062, allocations: 2.086 MB / 1.024 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.3089, allocations: 2.171 MB / 1.026 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.3091, allocations: 17.31 kB / 1.026 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3091, allocations: 47.81 kB / 1.026 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/0.3091, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.6412/0.9504, allocations: 75.27 MB / 1.099 GB, free: 121.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.9504, allocations: 77.41 kB / 1.099 GB, free: 121.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.9523, allocations: 1.674 MB / 1.101 GB, free: 120 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.9527, allocations: 66.95 kB / 1.101 GB, free: 119.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/0.9535, allocations: 1.746 MB / 1.103 GB, free: 118.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005445/0.954, allocations: 0.8476 MB / 1.104 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.9543, allocations: 56 kB / 1.104 GB, free: 117.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.9544, allocations: 407.2 kB / 1.104 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/0.9572, allocations: 2.732 MB / 1.107 GB, free: 114.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.9602, allocations: 3.336 MB / 1.11 GB, free: 111.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.9665, allocations: 6.389 MB / 1.116 GB, free: 104.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.9665, allocations: 7.938 kB / 1.116 GB, free: 104.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0282/0.9947, allocations: 14.69 MB / 1.131 GB, free: 89.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.9948, allocations: 16.88 kB / 1.131 GB, free: 89.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.9948, allocations: 16 kB / 1.131 GB, free: 89.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02656/1.021, allocations: 9.243 MB / 1.14 GB, free: 80.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.023, allocations: 303.4 kB / 1.14 GB, free: 80.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05955/1.082, allocations: 47.11 MB / 1.186 GB, free: 32.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.085, allocations: 228.3 kB / 1.186 GB, free: 31.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.085, allocations: 96.5 kB / 1.186 GB, free: 31.88 MB / 0.698 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 (157): * Single equations (assignments): 151 * 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 {(19,19,68.1%), (19,19,54.6%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002264/1.088, allocations: 1.588 MB / 1.188 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/1.088, allocations: 245.1 kB / 1.188 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02871/1.117, allocations: 14.75 MB / 1.202 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.117, allocations: 28 kB / 1.202 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.117, allocations: 44 kB / 1.202 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/1.117, allocations: 17.03 kB / 1.202 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0382/1.155, allocations: 20.53 MB / 1.222 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/1.155, allocations: 4 kB / 1.222 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/1.156, allocations: 163.7 kB / 1.223 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03021/1.186, allocations: 9 MB / 1.231 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004947/1.187, allocations: 52 kB / 1.231 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07159/1.258, allocations: 46.74 MB / 1.277 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.258, allocations: 8.562 kB / 1.277 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03104/1.289, allocations: 14.37 MB / 1.291 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.291, allocations: 0.8455 MB / 1.292 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/1.292, allocations: 48 kB / 1.292 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.294, allocations: 215.7 kB / 1.292 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.295, allocations: 241.5 kB / 1.292 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.295, allocations: 64 kB / 1.293 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001418/1.297, allocations: 1.129 MB / 1.294 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/1.297, allocations: 0 / 1.294 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003987/1.301, allocations: 1.598 MB / 1.295 GB, free: 14.96 MB / 0.7917 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003555/1.301, allocations: 163 kB / 1.295 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02101/1.322, allocations: 10.35 MB / 1.305 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.322, allocations: 4.875 kB / 1.305 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01699/1.339, allocations: 7.161 MB / 1.312 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.343, allocations: 0.5215 MB / 1.313 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.357, allocations: 11.22 MB / 1.324 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/1.36, allocations: 3.294 MB / 1.327 GB, free: 14 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/1.36, allocations: 111.4 kB / 1.327 GB, free: 13.89 MB / 0.823 GB Notification: Performance of SimCode: time 6.11e-07/1.36, allocations: 0 / 1.327 GB, free: 13.89 MB / 0.823 GB Notification: Performance of Templates: time 0.4524/1.813, allocations: 186.9 MB / 1.51 GB, free: 168.2 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)