Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 109.4 kB / 15.69 MB, free: 128 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.001164/0.001164, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001652/0.001652, allocations: 75.77 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02464/0.2716, allocations: 20.17 MB / 0.8038 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2842, allocations: 6.512 MB / 0.8102 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.2867, allocations: 83.62 kB / 0.8103 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006185/0.2929, allocations: 2.227 MB / 0.8124 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.2969, allocations: 1.185 MB / 0.8136 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.301, allocations: 1.29 MB / 0.8149 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007038/0.3081, allocations: 4.846 MB / 0.8196 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008644/0.3168, allocations: 5.591 MB / 0.825 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.3211, allocations: 2.088 MB / 0.8271 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005079/0.3262, allocations: 2.337 MB / 0.8294 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.3275, allocations: 428 kB / 0.8298 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.3305, allocations: 1.006 MB / 0.8308 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.333, allocations: 1.657 MB / 0.8324 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.3361, allocations: 1.91 MB / 0.8342 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.3436, allocations: 6.517 MB / 0.8406 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3437, allocations: 4 kB / 0.8406 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3437, allocations: 3.938 kB / 0.8406 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001569/0.3438, allocations: 0 / 0.8406 GB, free: 2.641 MB / 0.6544 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.007693/0.3515, allocations: 3.459 MB / 0.844 GB, free: 15.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3516, allocations: 12.03 kB / 0.844 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.3551, allocations: 0.6332 MB / 0.8446 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.3592, allocations: 2.045 MB / 0.8466 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.3594, allocations: 226.3 kB / 0.8468 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.3598, allocations: 296.2 kB / 0.8471 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008691/0.3685, allocations: 4.894 MB / 0.8519 GB, free: 6.762 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.3686, allocations: 11.94 kB / 0.8519 GB, free: 6.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.3689, allocations: 124 kB / 0.852 GB, free: 6.629 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/0.3694, allocations: 233.7 kB / 0.8522 GB, free: 6.398 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/0.3759, allocations: 3.75 MB / 0.8559 GB, free: 2.637 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.4004, allocations: 21.4 MB / 0.8768 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.4022, allocations: 1.309 MB / 0.8781 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4036, allocations: 1.057 MB / 0.8791 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.128e-05/0.4036, allocations: 12.98 kB / 0.8791 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.4037, allocations: 47.56 kB / 0.8792 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/0.4037, allocations: 0 / 0.8792 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02377/0.4275, allocations: 8.649 MB / 0.8876 GB, free: 88 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4276, allocations: 64.72 kB / 0.8877 GB, free: 12 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.4291, allocations: 1.126 MB / 0.8888 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.4292, allocations: 49.64 kB / 0.8888 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.43, allocations: 1.304 MB / 0.8901 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.4305, allocations: 477.1 kB / 0.8906 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/0.431, allocations: 295.3 kB / 0.8908 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4311, allocations: 309.1 kB / 0.8911 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4324, allocations: 0.9135 MB / 0.892 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.434, allocations: 1.326 MB / 0.8933 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.4371, allocations: 2.426 MB / 0.8957 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4371, allocations: 11.94 kB / 0.8957 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006064/0.4432, allocations: 3.455 MB / 0.8991 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.4433, allocations: 11.98 kB / 0.8991 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.4433, allocations: 12.88 kB / 0.8991 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.4465, allocations: 1.187 MB / 0.9003 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.4475, allocations: 255.6 kB / 0.9005 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.4653, allocations: 13.84 MB / 0.914 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.4671, allocations: 91.97 kB / 0.9141 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.4673, allocations: 64 kB / 0.9142 GB, free: 4.07 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002015/0.4694, allocations: 1.115 MB / 0.9153 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/0.4698, allocations: 158.1 kB / 0.9154 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4359/0.9057, allocations: 3.165 MB / 0.9185 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.9058, allocations: 14.72 kB / 0.9185 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/0.9058, allocations: 13.03 kB / 0.9185 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/0.9058, allocations: 7.219 kB / 0.9185 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.9176, allocations: 6.251 MB / 0.9246 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.9176, allocations: 5.75 kB / 0.9246 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.9182, allocations: 145.3 kB / 0.9248 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002864/0.921, allocations: 1.077 MB / 0.9258 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.9211, allocations: 25 kB / 0.9259 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.9371, allocations: 13.54 MB / 0.9391 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.9372, allocations: 4.75 kB / 0.9391 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/0.9434, allocations: 3.155 MB / 0.9422 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009893/0.9444, allocations: 424.5 kB / 0.9426 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.9446, allocations: 31.53 kB / 0.9426 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/0.9455, allocations: 79.11 kB / 0.9427 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/0.946, allocations: 129.5 kB / 0.9428 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9461, allocations: 41.41 kB / 0.9428 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001244/0.9474, allocations: 0.7642 MB / 0.9436 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9474, allocations: 0 / 0.9436 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002341/0.9497, allocations: 0.6614 MB / 0.9442 GB, free: 114.7 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.95, allocations: 142.6 kB / 0.9444 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005101/0.9551, allocations: 3.15 MB / 0.9474 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9552, allocations: 1.781 kB / 0.9474 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.9582, allocations: 1.948 MB / 0.9493 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.9603, allocations: 0.4938 MB / 0.9498 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.9692, allocations: 5.381 MB / 0.9551 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.9716, allocations: 2.331 MB / 0.9574 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001168/0.9728, allocations: 348.7 kB / 0.9577 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.973, allocations: 93.8 kB / 0.9578 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.973, allocations: 7.938 kB / 0.9578 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.04652/1.02, allocations: 32.68 MB / 0.9897 GB, free: 83.39 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)