Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 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.001406/0.001406, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 290.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9421/0.9421, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 103.4 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02169/0.1685, allocations: 20.23 MB / 0.6999 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.1785, allocations: 6.445 MB / 0.7062 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.1805, allocations: 87.56 kB / 0.7063 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005104/0.1856, allocations: 2.234 MB / 0.7085 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.1891, allocations: 1.193 MB / 0.7097 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.192, allocations: 1.273 MB / 0.7109 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004682/0.1967, allocations: 4.862 MB / 0.7157 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005581/0.2023, allocations: 5.638 MB / 0.7212 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.2048, allocations: 2.076 MB / 0.7232 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.2074, allocations: 2.333 MB / 0.7255 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.2079, allocations: 436 kB / 0.7259 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.2096, allocations: 1.006 MB / 0.7269 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.211, allocations: 1.668 MB / 0.7285 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.2127, allocations: 1.91 MB / 0.7304 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.2179, allocations: 6.47 MB / 0.7367 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2179, allocations: 0 / 0.7367 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2179, allocations: 0 / 0.7367 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.538e-05/0.218, allocations: 0 / 0.7367 GB, free: 6.645 MB / 0.5294 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.005694/0.2237, allocations: 3.455 MB / 0.7401 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2237, allocations: 16.03 kB / 0.7401 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.2268, allocations: 0.6371 MB / 0.7407 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.2297, allocations: 1.936 MB / 0.7426 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2299, allocations: 226.3 kB / 0.7428 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/0.2303, allocations: 296.2 kB / 0.7431 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/0.2369, allocations: 4.886 MB / 0.7479 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/0.237, allocations: 11.94 kB / 0.7479 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.2373, allocations: 128 kB / 0.748 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004085/0.2377, allocations: 237.7 kB / 0.7482 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005555/0.2433, allocations: 3.75 MB / 0.7519 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.277/0.5203, allocations: 21.57 MB / 0.7729 GB, free: 84.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.5221, allocations: 1.302 MB / 0.7742 GB, free: 84.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.5234, allocations: 1.051 MB / 0.7752 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-05/0.5235, allocations: 11.09 kB / 0.7752 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.5235, allocations: 46.42 kB / 0.7753 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.446e-06/0.5235, allocations: 0 / 0.7753 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02256/0.5461, allocations: 8.655 MB / 0.7837 GB, free: 83.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5462, allocations: 64.88 kB / 0.7838 GB, free: 83.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.5475, allocations: 1.127 MB / 0.7849 GB, free: 82.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/0.5475, allocations: 52.97 kB / 0.785 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.5481, allocations: 1.297 MB / 0.7862 GB, free: 81.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.5484, allocations: 481.1 kB / 0.7867 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.5488, allocations: 299.5 kB / 0.787 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.5489, allocations: 303 kB / 0.7873 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.55, allocations: 0.9135 MB / 0.7881 GB, free: 80.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.5512, allocations: 1.322 MB / 0.7894 GB, free: 79.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.5537, allocations: 2.425 MB / 0.7918 GB, free: 78.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5537, allocations: 7.531 kB / 0.7918 GB, free: 78.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005495/0.5592, allocations: 3.464 MB / 0.7952 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5593, allocations: 13.84 kB / 0.7952 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.5593, allocations: 13.56 kB / 0.7952 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/0.5622, allocations: 1.187 MB / 0.7964 GB, free: 76.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.563, allocations: 259.2 kB / 0.7966 GB, free: 76.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.5767, allocations: 13.85 MB / 0.8101 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5779, allocations: 91.47 kB / 0.8102 GB, free: 67.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.578, allocations: 63.38 kB / 0.8103 GB, free: 67.07 MB / 0.5606 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.001267/0.5793, allocations: 1.117 MB / 0.8114 GB, free: 66.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5794, allocations: 160.7 kB / 0.8115 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.5839, allocations: 3.174 MB / 0.8146 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5839, allocations: 14.47 kB / 0.8147 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5839, allocations: 10.78 kB / 0.8147 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5839, allocations: 3.984 kB / 0.8147 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007596/0.5915, allocations: 6.249 MB / 0.8208 GB, free: 60.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5915, allocations: 3.812 kB / 0.8208 GB, free: 60.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.592, allocations: 151 kB / 0.8209 GB, free: 60.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.5945, allocations: 1.084 MB / 0.822 GB, free: 60.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.5945, allocations: 30.62 kB / 0.822 GB, free: 60.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.6066, allocations: 13.54 MB / 0.8352 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6066, allocations: 4 kB / 0.8352 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.6106, allocations: 3.154 MB / 0.8383 GB, free: 43.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/0.6111, allocations: 430.9 kB / 0.8387 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6113, allocations: 32 kB / 0.8388 GB, free: 42.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.6121, allocations: 83.89 kB / 0.8388 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.6123, allocations: 124.7 kB / 0.839 GB, free: 42.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.6124, allocations: 40 kB / 0.839 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007173/0.6131, allocations: 0.7632 MB / 0.8397 GB, free: 41.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6131, allocations: 0 / 0.8397 GB, free: 41.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001522/0.6146, allocations: 0.6714 MB / 0.8404 GB, free: 41.11 MB / 0.5606 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.0001706/0.6148, allocations: 139.1 kB / 0.8405 GB, free: 40.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004267/0.6191, allocations: 3.632 MB / 0.8441 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6191, allocations: 4 kB / 0.8441 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.6213, allocations: 1.95 MB / 0.846 GB, free: 35.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6231, allocations: 0.5087 MB / 0.8465 GB, free: 34.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.6291, allocations: 5.429 MB / 0.8518 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.6306, allocations: 2.34 MB / 0.8541 GB, free: 27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008014/0.6314, allocations: 349.9 kB / 0.8544 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.6316, allocations: 87.42 kB / 0.8545 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6316, allocations: 0 / 0.8545 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.03911/0.6707, allocations: 32.69 MB / 0.8864 GB, free: 10.4 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)