Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006677/0.006676, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001295/0.001295, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002043, allocations: 303.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 95.86 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4449, allocations: 86.97 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01214/0.4571, allocations: 10 MB / 0.7762 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005257/0.4624, allocations: 3.049 MB / 0.7792 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007338/0.4631, allocations: 35.81 kB / 0.7792 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.4651, allocations: 0.6829 MB / 0.7799 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.4668, allocations: 0.7234 MB / 0.7806 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.4682, allocations: 0.6394 MB / 0.7812 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.4712, allocations: 2.734 MB / 0.7839 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.4742, allocations: 2.527 MB / 0.7863 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.4758, allocations: 1.141 MB / 0.7874 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.4779, allocations: 1.379 MB / 0.7888 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004953/0.4784, allocations: 216 kB / 0.789 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.4795, allocations: 499.3 kB / 0.7895 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.4807, allocations: 0.9863 MB / 0.7904 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.4818, allocations: 1.008 MB / 0.7914 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.4847, allocations: 3.407 MB / 0.7947 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4848, allocations: 4 kB / 0.7947 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4848, allocations: 0 / 0.7947 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.4848, allocations: 4 kB / 0.7947 GB, free: 6.754 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003046/0.4878, allocations: 1.943 MB / 0.7966 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4879, allocations: 12.02 kB / 0.7967 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.4931, allocations: 0.8844 MB / 0.7975 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4949, allocations: 1.157 MB / 0.7986 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.495, allocations: 119.3 kB / 0.7988 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.4953, allocations: 148.2 kB / 0.7989 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/0.4993, allocations: 3.017 MB / 0.8018 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.4994, allocations: 4 kB / 0.8019 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.4996, allocations: 63.97 kB / 0.8019 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.4998, allocations: 171 kB / 0.8021 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/0.5036, allocations: 2.619 MB / 0.8046 GB, free: 12.42 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.5183, allocations: 13.49 MB / 0.8178 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.5201, allocations: 1.292 MB / 0.8191 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.5215, allocations: 1.048 MB / 0.8201 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/0.5216, allocations: 12.66 kB / 0.8201 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5216, allocations: 39.22 kB / 0.8201 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.5216, allocations: 0 / 0.8201 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.06516/0.5868, allocations: 19.4 MB / 0.8391 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5868, allocations: 72.7 kB / 0.8392 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.5879, allocations: 0.9106 MB / 0.84 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.588, allocations: 53.64 kB / 0.8401 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.5885, allocations: 0.7283 MB / 0.8408 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.5889, allocations: 489 kB / 0.8413 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005309/0.5894, allocations: 291.5 kB / 0.8416 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5896, allocations: 353.9 kB / 0.8419 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.5913, allocations: 1.335 MB / 0.8432 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.5933, allocations: 1.659 MB / 0.8448 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.5971, allocations: 3.086 MB / 0.8478 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5971, allocations: 0 / 0.8478 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01077/0.6079, allocations: 5.636 MB / 0.8533 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.6079, allocations: 16.06 kB / 0.8533 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.608, allocations: 11.94 kB / 0.8534 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/0.6163, allocations: 2.713 MB / 0.856 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.6171, allocations: 191.7 kB / 0.8562 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03371/0.6508, allocations: 25.71 MB / 0.8813 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6521, allocations: 91.95 kB / 0.8814 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.6522, allocations: 56 kB / 0.8814 GB, free: 11.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.6534, allocations: 0.7393 MB / 0.8822 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.6536, allocations: 114.6 kB / 0.8823 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.664, allocations: 5.392 MB / 0.8875 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.6641, allocations: 12 kB / 0.8875 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.6641, allocations: 24 kB / 0.8876 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6641, allocations: 7.969 kB / 0.8876 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.6788, allocations: 8.693 MB / 0.8961 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.6788, allocations: 4 kB / 0.8961 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.6792, allocations: 123.7 kB / 0.8962 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007925/0.6872, allocations: 2.584 MB / 0.8987 GB, free: 9.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6873, allocations: 28.38 kB / 0.8987 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03131/0.7186, allocations: 24.15 MB / 0.9223 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.7186, allocations: 7.938 kB / 0.9223 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.7289, allocations: 5.245 MB / 0.9275 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/0.7297, allocations: 487.6 kB / 0.9279 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.7299, allocations: 39.98 kB / 0.928 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/0.7307, allocations: 75.91 kB / 0.928 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.7312, allocations: 117 kB / 0.9281 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.7313, allocations: 39.98 kB / 0.9282 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008301/0.7321, allocations: 0.6434 MB / 0.9288 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.893e-06/0.7322, allocations: 4 kB / 0.9288 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002095/0.7342, allocations: 0.7265 MB / 0.9295 GB, free: 9.516 MB / 0.7012 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002318/0.7345, allocations: 139 kB / 0.9297 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006449/0.7409, allocations: 4.203 MB / 0.9338 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.741, allocations: 0 / 0.9338 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.7455, allocations: 2.717 MB / 0.9364 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.7466, allocations: 219.4 kB / 0.9366 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.7523, allocations: 3.99 MB / 0.9405 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.7537, allocations: 1.696 MB / 0.9422 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006515/0.7543, allocations: 325.5 kB / 0.9425 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7545, allocations: 55.44 kB / 0.9425 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.7545, allocations: 4 kB / 0.9425 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.3869/1.141, allocations: 40.36 MB / 0.9819 GB, free: 188.2 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)