Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 89.66 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007732/0.007732, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 273.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 14.94 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 88.54 MB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009918/0.1702, allocations: 9.571 MB / 0.6945 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.1751, allocations: 3.142 MB / 0.6976 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.1756, allocations: 31.81 kB / 0.6976 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.176, allocations: 182.6 kB / 0.6978 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1772, allocations: 0.6992 MB / 0.6984 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1784, allocations: 0.6566 MB / 0.6991 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003899/0.1824, allocations: 4.474 MB / 0.7035 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.1865, allocations: 3.146 MB / 0.7065 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.188, allocations: 0.9417 MB / 0.7074 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.1898, allocations: 1.453 MB / 0.7089 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.19, allocations: 116 kB / 0.709 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008684/0.1909, allocations: 467.2 kB / 0.7094 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.1918, allocations: 0.9236 MB / 0.7103 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.1926, allocations: 0.9696 MB / 0.7113 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.1956, allocations: 3.524 MB / 0.7147 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1956, allocations: 0 / 0.7147 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1956, allocations: 4 kB / 0.7147 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.585e-05/0.1957, allocations: 0 / 0.7147 GB, free: 0.6133 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00351/0.1992, allocations: 1.756 MB / 0.7164 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1992, allocations: 11.97 kB / 0.7164 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008685/0.2079, allocations: 1.329 MB / 0.7177 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.2099, allocations: 1.255 MB / 0.719 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.21, allocations: 115.4 kB / 0.7191 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.2103, allocations: 144.3 kB / 0.7192 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.2153, allocations: 3.437 MB / 0.7226 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.2154, allocations: 3.984 kB / 0.7226 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.2156, allocations: 63.97 kB / 0.7226 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/0.2158, allocations: 207.1 kB / 0.7228 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.2204, allocations: 3.127 MB / 0.7259 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.236, allocations: 13.59 MB / 0.7392 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.2384, allocations: 1.728 MB / 0.7409 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.2403, allocations: 1.433 MB / 0.7423 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.2404, allocations: 13 kB / 0.7423 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2404, allocations: 43.56 kB / 0.7423 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.2404, allocations: 0 / 0.7423 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4249/0.6654, allocations: 35.95 MB / 0.7774 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.6654, allocations: 71.62 kB / 0.7775 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.667, allocations: 1.054 MB / 0.7785 GB, free: 87.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/0.6674, allocations: 52.23 kB / 0.7786 GB, free: 87.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.6679, allocations: 0.7882 MB / 0.7793 GB, free: 86.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006679/0.6686, allocations: 0.6225 MB / 0.7799 GB, free: 86.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.669, allocations: 153.8 kB / 0.7801 GB, free: 86.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.6691, allocations: 306.5 kB / 0.7804 GB, free: 86.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.6718, allocations: 1.934 MB / 0.7823 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.6745, allocations: 2.286 MB / 0.7845 GB, free: 84.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005152/0.6797, allocations: 4.393 MB / 0.7888 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6797, allocations: 0 / 0.7888 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01973/0.6994, allocations: 9.032 MB / 0.7976 GB, free: 80.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.6995, allocations: 9.25 kB / 0.7976 GB, free: 80.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.6995, allocations: 8.812 kB / 0.7976 GB, free: 80.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.7165, allocations: 4.97 MB / 0.8025 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.7174, allocations: 199.8 kB / 0.8027 GB, free: 78.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0445/0.762, allocations: 35.14 MB / 0.837 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.7639, allocations: 103.8 kB / 0.8371 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.764, allocations: 68 kB / 0.8371 GB, free: 52.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.7651, allocations: 0.8096 MB / 0.8379 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.7654, allocations: 138.3 kB / 0.8381 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/0.7834, allocations: 8.882 MB / 0.8467 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.7834, allocations: 20 kB / 0.8468 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/0.7835, allocations: 28 kB / 0.8468 GB, free: 42.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.7835, allocations: 7.969 kB / 0.8468 GB, free: 42.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/0.8059, allocations: 13.29 MB / 0.8598 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.8059, allocations: 4 kB / 0.8598 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.8063, allocations: 119.8 kB / 0.8599 GB, free: 28.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01487/0.8212, allocations: 4.76 MB / 0.8645 GB, free: 23.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.8214, allocations: 39.94 kB / 0.8646 GB, free: 23.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04168/0.8631, allocations: 31.44 MB / 0.8953 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8632, allocations: 11.69 kB / 0.8953 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.8821, allocations: 8.396 MB / 0.9035 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.8833, allocations: 0.619 MB / 0.9041 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.8836, allocations: 36.5 kB / 0.9041 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.8849, allocations: 95.88 kB / 0.9042 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008508/0.8857, allocations: 161.6 kB / 0.9044 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8859, allocations: 44 kB / 0.9044 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009415/0.8868, allocations: 0.7382 MB / 0.9051 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8868, allocations: 7.938 kB / 0.9051 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002989/0.8898, allocations: 1.004 MB / 0.9061 GB, free: 12.63 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/0.8902, allocations: 143.7 kB / 0.9063 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009194/0.8994, allocations: 5.829 MB / 0.912 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8994, allocations: 0 / 0.912 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007337/0.9067, allocations: 3.806 MB / 0.9157 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.9086, allocations: 225.7 kB / 0.9159 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/0.9156, allocations: 5.82 MB / 0.9216 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.9172, allocations: 1.851 MB / 0.9234 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007311/0.9179, allocations: 349.9 kB / 0.9237 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.9181, allocations: 67.42 kB / 0.9238 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.9181, allocations: 0 / 0.9238 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.07298/0.9911, allocations: 55.48 MB / 0.978 GB, free: 3.09 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)