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.001444/0.001444, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00156/0.00156, allocations: 194 kB / 16.14 MB, free: 6.707 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 276.6 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 93.89 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 86.99 MB / 0.6795 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01151/0.1637, allocations: 10.04 MB / 0.6893 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.1687, allocations: 3.17 MB / 0.6924 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.1692, allocations: 31.88 kB / 0.6924 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1706, allocations: 0.5432 MB / 0.6929 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.1721, allocations: 0.7081 MB / 0.6936 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1738, allocations: 0.6825 MB / 0.6943 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003544/0.1774, allocations: 4.478 MB / 0.6986 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.1809, allocations: 2.838 MB / 0.7014 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.1827, allocations: 1.059 MB / 0.7024 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1845, allocations: 1.617 MB / 0.704 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.1847, allocations: 167.9 kB / 0.7042 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1857, allocations: 0.507 MB / 0.7047 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008969/0.1867, allocations: 1.006 MB / 0.7057 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.1876, allocations: 1.027 MB / 0.7067 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.1904, allocations: 3.626 MB / 0.7102 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1905, allocations: 0 / 0.7102 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1905, allocations: 0 / 0.7102 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.043e-05/0.1905, allocations: 0 / 0.7102 GB, free: 1.555 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.003506/0.194, allocations: 2.146 MB / 0.7123 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1941, allocations: 8.031 kB / 0.7123 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008275/0.2023, allocations: 1.317 MB / 0.7136 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.2044, allocations: 1.247 MB / 0.7148 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/0.2045, allocations: 111.4 kB / 0.7149 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.2048, allocations: 148.3 kB / 0.7151 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004847/0.2097, allocations: 3.445 MB / 0.7184 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.2097, allocations: 3.938 kB / 0.7184 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.2099, allocations: 63.97 kB / 0.7185 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.2102, allocations: 211.1 kB / 0.7187 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.2146, allocations: 3.124 MB / 0.7217 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.2301, allocations: 13.61 MB / 0.735 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.2325, allocations: 1.731 MB / 0.7367 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.2343, allocations: 1.436 MB / 0.7381 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.777e-05/0.2344, allocations: 16.98 kB / 0.7381 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2345, allocations: 43.5 kB / 0.7382 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.2345, allocations: 0 / 0.7382 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4087/0.6432, allocations: 36.67 MB / 0.774 GB, free: 89.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.6433, allocations: 74.16 kB / 0.7741 GB, free: 89.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.6451, allocations: 1.047 MB / 0.7751 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.6455, allocations: 57.14 kB / 0.7751 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.646, allocations: 0.7877 MB / 0.7759 GB, free: 89.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.6465, allocations: 0.6283 MB / 0.7765 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007885/0.6473, allocations: 360.9 kB / 0.7769 GB, free: 88.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.6474, allocations: 308.5 kB / 0.7772 GB, free: 88.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/0.65, allocations: 1.926 MB / 0.779 GB, free: 87.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/0.6528, allocations: 2.295 MB / 0.7813 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.6579, allocations: 4.387 MB / 0.7856 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.6579, allocations: 5.094 kB / 0.7856 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01895/0.6769, allocations: 9.022 MB / 0.7944 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.677, allocations: 9.156 kB / 0.7944 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.677, allocations: 9.469 kB / 0.7944 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/0.6934, allocations: 4.98 MB / 0.7993 GB, free: 80.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008452/0.6943, allocations: 199.7 kB / 0.7995 GB, free: 80.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04209/0.7364, allocations: 35.27 MB / 0.8339 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.7382, allocations: 109.8 kB / 0.834 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.7384, allocations: 68 kB / 0.8341 GB, free: 53.03 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.001015/0.7394, allocations: 0.7979 MB / 0.8349 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.7397, allocations: 138.3 kB / 0.835 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/0.7557, allocations: 8.89 MB / 0.8437 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7557, allocations: 16 kB / 0.8437 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/0.7558, allocations: 28 kB / 0.8437 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.7558, allocations: 15.95 kB / 0.8437 GB, free: 43.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/0.7769, allocations: 13.31 MB / 0.8567 GB, free: 29.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.777, allocations: 8.062 kB / 0.8567 GB, free: 29.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.7774, allocations: 119.8 kB / 0.8568 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01417/0.7916, allocations: 4.759 MB / 0.8615 GB, free: 24.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.7919, allocations: 36 kB / 0.8615 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03989/0.8318, allocations: 31.57 MB / 0.8924 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.8318, allocations: 4 kB / 0.8924 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/0.85, allocations: 8.4 MB / 0.9006 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.8515, allocations: 0.6134 MB / 0.9012 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.8518, allocations: 38.06 kB / 0.9012 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.853, allocations: 95.88 kB / 0.9013 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009196/0.8539, allocations: 165.2 kB / 0.9014 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.8541, allocations: 44 kB / 0.9015 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001027/0.8551, allocations: 0.7421 MB / 0.9022 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8551, allocations: 0 / 0.9022 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003298/0.8584, allocations: 1.004 MB / 0.9032 GB, free: 13.46 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.0003335/0.8588, allocations: 145.6 kB / 0.9033 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.8689, allocations: 5.855 MB / 0.9091 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.869, allocations: 4 kB / 0.9091 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007287/0.8763, allocations: 3.828 MB / 0.9128 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.8779, allocations: 225.1 kB / 0.913 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.8859, allocations: 5.798 MB / 0.9187 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.8875, allocations: 1.859 MB / 0.9205 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008615/0.8884, allocations: 352.6 kB / 0.9208 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.8886, allocations: 59.44 kB / 0.9209 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.8886, allocations: 0 / 0.9209 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.07633/0.9649, allocations: 57.88 MB / 0.9774 GB, free: 1.523 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)