Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 287.5 MB / 302.4 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 184.8 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 95.56 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 17.58 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02563/0.2434, allocations: 18.33 MB / 0.9963 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.2568, allocations: 6.187 MB / 1.002 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.2592, allocations: 71.62 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.2611, allocations: 392.8 kB / 1.003 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.265, allocations: 0.9677 MB / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.2686, allocations: 0.77 MB / 1.004 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009257/0.2779, allocations: 5.469 MB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/0.2947, allocations: 6.39 MB / 1.016 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.299, allocations: 1.51 MB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005098/0.3042, allocations: 1.974 MB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3054, allocations: 176 kB / 1.02 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.3084, allocations: 487.5 kB / 1.02 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003113/0.3115, allocations: 1.344 MB / 1.021 GB, free: 148 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.3135, allocations: 0.6447 MB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009601/0.3232, allocations: 5.373 MB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.3232, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3233, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002101/0.3235, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0103/0.3338, allocations: 2.849 MB / 1.03 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.3339, allocations: 20.02 kB / 1.03 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00591/0.3398, allocations: 0.6362 MB / 1.031 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006267/0.3461, allocations: 1.892 MB / 1.033 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.3465, allocations: 225.9 kB / 1.033 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.3477, allocations: 295.9 kB / 1.033 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.3629, allocations: 4.863 MB / 1.038 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.3631, allocations: 11.94 kB / 1.038 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006222/0.3638, allocations: 128 kB / 1.038 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007477/0.3645, allocations: 233.7 kB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.3772, allocations: 3.727 MB / 1.042 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/0.4163, allocations: 21.61 MB / 1.063 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.4197, allocations: 1.308 MB / 1.064 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002688/0.4225, allocations: 1.042 MB / 1.065 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.4227, allocations: 13 kB / 1.065 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.4227, allocations: 43.56 kB / 1.065 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 5.04e-06/0.4227, allocations: 0 / 1.065 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.6961/1.119, allocations: 8.652 MB / 1.074 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.119, allocations: 66.31 kB / 1.074 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/1.122, allocations: 1.128 MB / 1.075 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003287/1.122, allocations: 51.11 kB / 1.075 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.123, allocations: 1.295 MB / 1.076 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006838/1.124, allocations: 483.2 kB / 1.077 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.124, allocations: 30.53 kB / 1.077 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.124, allocations: 376.3 kB / 1.077 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/1.127, allocations: 0.9064 MB / 1.078 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/1.129, allocations: 1.319 MB / 1.079 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/1.132, allocations: 1.139 MB / 1.08 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.132, allocations: 2.938 kB / 1.08 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01063/1.143, allocations: 3.442 MB / 1.084 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.143, allocations: 17.3 kB / 1.084 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/1.143, allocations: 12 kB / 1.084 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005806/1.149, allocations: 1.188 MB / 1.085 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.151, allocations: 255.6 kB / 1.085 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/1.177, allocations: 12.71 MB / 1.097 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.179, allocations: 85.42 kB / 1.098 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.179, allocations: 62.69 kB / 1.098 GB, free: 68.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002962/1.182, allocations: 1.12 MB / 1.099 GB, free: 68.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/1.183, allocations: 165 kB / 1.099 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/1.192, allocations: 3.15 MB / 1.102 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.192, allocations: 17.48 kB / 1.102 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/1.192, allocations: 15.22 kB / 1.102 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/1.193, allocations: 8.422 kB / 1.102 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/1.21, allocations: 6.229 MB / 1.108 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.21, allocations: 5.188 kB / 1.108 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.211, allocations: 146 kB / 1.108 GB, free: 63.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005204/1.216, allocations: 1.074 MB / 1.109 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.217, allocations: 26.12 kB / 1.109 GB, free: 63.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/1.241, allocations: 12.43 MB / 1.121 GB, free: 54.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.241, allocations: 4.406 kB / 1.121 GB, free: 54.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008734/1.25, allocations: 3.14 MB / 1.125 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.251, allocations: 437.6 kB / 1.125 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/1.252, allocations: 27.59 kB / 1.125 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.253, allocations: 81.48 kB / 1.125 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/1.254, allocations: 128.5 kB / 1.125 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.254, allocations: 41.97 kB / 1.125 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001408/1.255, allocations: 0.7499 MB / 1.126 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.255, allocations: 0 / 1.126 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003465/1.259, allocations: 0.665 MB / 1.127 GB, free: 51.4 MB / 0.6823 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/1.259, allocations: 139.8 kB / 1.127 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00725/1.266, allocations: 3.123 MB / 1.13 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.266, allocations: 0 / 1.13 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/1.271, allocations: 1.964 MB / 1.132 GB, free: 46.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.275, allocations: 471.8 kB / 1.132 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.287, allocations: 6.454 MB / 1.138 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.29, allocations: 2.34 MB / 1.141 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001729/1.292, allocations: 350.1 kB / 1.141 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.292, allocations: 87.42 kB / 1.141 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.183e-06/1.292, allocations: 0 / 1.141 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.07986/1.372, allocations: 30.19 MB / 1.171 GB, free: 7.273 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)