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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001289/0.001289, allocations: 201.4 kB / 16.14 MB, free: 6.797 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002643/0.002643, allocations: 282.4 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 93.38 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 89.16 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01254/0.1736, allocations: 9.974 MB / 0.7025 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.1786, allocations: 3.047 MB / 0.7055 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.1789, allocations: 35.81 kB / 0.7056 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.1805, allocations: 0.6263 MB / 0.7062 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1817, allocations: 0.6537 MB / 0.7068 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1829, allocations: 0.5842 MB / 0.7074 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.1869, allocations: 4.072 MB / 0.7114 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.1909, allocations: 2.814 MB / 0.7141 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.1922, allocations: 0.9577 MB / 0.715 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.194, allocations: 1.43 MB / 0.7164 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.1943, allocations: 148 kB / 0.7166 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.1952, allocations: 0.4991 MB / 0.7171 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000946/0.1962, allocations: 0.9043 MB / 0.7179 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1973, allocations: 0.9372 MB / 0.7189 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.2005, allocations: 3.357 MB / 0.7221 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2006, allocations: 0 / 0.7221 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2006, allocations: 0 / 0.7221 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.378e-05/0.2006, allocations: 3.938 kB / 0.7221 GB, free: 6.684 MB / 0.5137 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.003481/0.2041, allocations: 1.936 MB / 0.724 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2041, allocations: 8.031 kB / 0.724 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/0.2098, allocations: 0.8882 MB / 0.7249 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.2117, allocations: 1.122 MB / 0.726 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/0.2118, allocations: 107.3 kB / 0.7261 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.2121, allocations: 144.4 kB / 0.7262 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.2169, allocations: 3.021 MB / 0.7292 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.217, allocations: 7.938 kB / 0.7292 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.2172, allocations: 55.98 kB / 0.7293 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/0.2174, allocations: 182.9 kB / 0.7294 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.2217, allocations: 2.604 MB / 0.732 GB, free: 12.41 MB / 0.5294 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.01656/0.2383, allocations: 13.57 MB / 0.7452 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.2404, allocations: 1.299 MB / 0.7465 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.242, allocations: 1.058 MB / 0.7475 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.2421, allocations: 8.656 kB / 0.7475 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2421, allocations: 39.22 kB / 0.7476 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.2421, allocations: 0 / 0.7476 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.3382/0.5803, allocations: 19.38 MB / 0.7665 GB, free: 65.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5804, allocations: 67.16 kB / 0.7666 GB, free: 64.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5822, allocations: 0.9174 MB / 0.7674 GB, free: 64.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.5824, allocations: 50.52 kB / 0.7675 GB, free: 64.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.583, allocations: 0.7325 MB / 0.7682 GB, free: 63.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.5835, allocations: 491.4 kB / 0.7687 GB, free: 63.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000865/0.5844, allocations: 294.1 kB / 0.769 GB, free: 63.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5845, allocations: 352.3 kB / 0.7693 GB, free: 63.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/0.5871, allocations: 1.336 MB / 0.7706 GB, free: 62.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.5894, allocations: 1.661 MB / 0.7722 GB, free: 61.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.5932, allocations: 3.088 MB / 0.7752 GB, free: 60.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5932, allocations: 2.5 kB / 0.7752 GB, free: 60.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0111/0.6043, allocations: 5.639 MB / 0.7807 GB, free: 58.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.6043, allocations: 12.97 kB / 0.7808 GB, free: 58.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.6044, allocations: 11.58 kB / 0.7808 GB, free: 58.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008461/0.6128, allocations: 2.719 MB / 0.7834 GB, free: 57.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.6136, allocations: 189 kB / 0.7836 GB, free: 57.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02795/0.6416, allocations: 23.33 MB / 0.8064 GB, free: 41.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6431, allocations: 98.86 kB / 0.8065 GB, free: 41.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.6432, allocations: 56 kB / 0.8065 GB, free: 41.71 MB / 0.545 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.0009434/0.6442, allocations: 0.7321 MB / 0.8073 GB, free: 40.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.6444, allocations: 118.4 kB / 0.8074 GB, free: 40.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009293/0.6537, allocations: 5.396 MB / 0.8126 GB, free: 35.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6537, allocations: 19.94 kB / 0.8127 GB, free: 35.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.6538, allocations: 21.81 kB / 0.8127 GB, free: 35.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.6538, allocations: 7.969 kB / 0.8127 GB, free: 35.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.6669, allocations: 8.645 MB / 0.8211 GB, free: 26.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.667, allocations: 4 kB / 0.8211 GB, free: 26.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.6674, allocations: 115.9 kB / 0.8212 GB, free: 26.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007544/0.6749, allocations: 2.539 MB / 0.8237 GB, free: 23.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.6751, allocations: 24 kB / 0.8237 GB, free: 23.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/0.6987, allocations: 20.9 MB / 0.8442 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6988, allocations: 4 kB / 0.8442 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.7089, allocations: 5.129 MB / 0.8492 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/0.7099, allocations: 476.6 kB / 0.8496 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.7101, allocations: 31.98 kB / 0.8497 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.711, allocations: 71.91 kB / 0.8497 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/0.7115, allocations: 133 kB / 0.8498 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.7117, allocations: 37.44 kB / 0.8499 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008994/0.7126, allocations: 0.6395 MB / 0.8505 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7126, allocations: 0 / 0.8505 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002411/0.715, allocations: 0.7227 MB / 0.8512 GB, free: 11.23 MB / 0.5606 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.0002602/0.7153, allocations: 147 kB / 0.8514 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007297/0.7226, allocations: 4.142 MB / 0.8554 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7226, allocations: 4.062 kB / 0.8554 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005139/0.7277, allocations: 2.656 MB / 0.858 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7291, allocations: 205 kB / 0.8582 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/0.7361, allocations: 4.689 MB / 0.8628 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.7378, allocations: 1.708 MB / 0.8644 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007851/0.7386, allocations: 332.8 kB / 0.8648 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.7388, allocations: 55.44 kB / 0.8648 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.295e-06/0.7388, allocations: 0 / 0.8648 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.05909/0.7979, allocations: 38.18 MB / 0.9021 GB, free: 7.227 MB / 0.6075 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)