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.001467/0.001467, 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.001584/0.001584, allocations: 193.6 kB / 16.14 MB, free: 6.715 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9702/0.9702, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 96.95 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1367, allocations: 86.98 MB / 0.6795 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01083/0.1476, allocations: 9.97 MB / 0.6892 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.1524, allocations: 3.044 MB / 0.6922 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.1529, allocations: 39.81 kB / 0.6922 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.1544, allocations: 0.6186 MB / 0.6928 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.1556, allocations: 0.6537 MB / 0.6934 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1568, allocations: 0.5876 MB / 0.694 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.1601, allocations: 4.064 MB / 0.698 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003547/0.1637, allocations: 2.814 MB / 0.7007 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.165, allocations: 0.9537 MB / 0.7017 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1666, allocations: 1.426 MB / 0.7031 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.1668, allocations: 152 kB / 0.7032 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009021/0.1677, allocations: 495.2 kB / 0.7037 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007972/0.1685, allocations: 0.916 MB / 0.7046 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.1694, allocations: 0.945 MB / 0.7055 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.172, allocations: 3.354 MB / 0.7088 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.172, allocations: 0 / 0.7088 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.61e-07/0.172, allocations: 0 / 0.7088 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.172, allocations: 0 / 0.7088 GB, free: 3.023 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003084/0.1751, allocations: 1.945 MB / 0.7107 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1752, allocations: 8.031 kB / 0.7107 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/0.1806, allocations: 0.8921 MB / 0.7115 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.1825, allocations: 1.114 MB / 0.7126 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.1825, allocations: 111.3 kB / 0.7127 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.1828, allocations: 148.2 kB / 0.7129 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.1872, allocations: 3.026 MB / 0.7158 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.1872, allocations: 4 kB / 0.7158 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.1874, allocations: 59.97 kB / 0.7159 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.1876, allocations: 175 kB / 0.7161 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.1914, allocations: 2.608 MB / 0.7186 GB, free: 8.742 MB / 0.5137 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.01468/0.2061, allocations: 13.57 MB / 0.7319 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.2079, allocations: 1.295 MB / 0.7331 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.2092, allocations: 1.047 MB / 0.7342 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.2093, allocations: 12.66 kB / 0.7342 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2094, allocations: 39.22 kB / 0.7342 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.2094, allocations: 0 / 0.7342 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.0691/0.2785, allocations: 19.38 MB / 0.7531 GB, free: 4.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2785, allocations: 64.72 kB / 0.7532 GB, free: 4.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2797, allocations: 0.9222 MB / 0.7541 GB, free: 3.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.2798, allocations: 53.64 kB / 0.7541 GB, free: 3.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.2803, allocations: 0.7322 MB / 0.7549 GB, free: 2.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.2808, allocations: 485 kB / 0.7553 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005517/0.2814, allocations: 287.5 kB / 0.7556 GB, free: 1.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2815, allocations: 353.9 kB / 0.7559 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.2833, allocations: 1.335 MB / 0.7572 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.2854, allocations: 1.659 MB / 0.7589 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.2893, allocations: 3.088 MB / 0.7619 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2893, allocations: 4 kB / 0.7619 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01121/0.3006, allocations: 5.64 MB / 0.7674 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3006, allocations: 10.66 kB / 0.7674 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3006, allocations: 11.94 kB / 0.7674 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/0.3095, allocations: 2.716 MB / 0.7701 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.3103, allocations: 191.7 kB / 0.7702 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2967/0.607, allocations: 23.35 MB / 0.793 GB, free: 79.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6082, allocations: 96.27 kB / 0.7931 GB, free: 79.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.6083, allocations: 57.06 kB / 0.7932 GB, free: 79.66 MB / 0.5606 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.0009201/0.6093, allocations: 0.7267 MB / 0.7939 GB, free: 79.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.6095, allocations: 115.4 kB / 0.794 GB, free: 79.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.6196, allocations: 5.394 MB / 0.7993 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6197, allocations: 13.97 kB / 0.7993 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/0.6197, allocations: 18.41 kB / 0.7993 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6197, allocations: 7.125 kB / 0.7993 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.6335, allocations: 8.655 MB / 0.8078 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/0.6335, allocations: 3.062 kB / 0.8078 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.634, allocations: 119.5 kB / 0.8079 GB, free: 73.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/0.6417, allocations: 2.538 MB / 0.8104 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.6418, allocations: 25.41 kB / 0.8104 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/0.6654, allocations: 20.89 MB / 0.8308 GB, free: 54.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6654, allocations: 7.938 kB / 0.8308 GB, free: 54.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008958/0.6744, allocations: 5.122 MB / 0.8358 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/0.6752, allocations: 475.5 kB / 0.8363 GB, free: 49.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.6754, allocations: 35.98 kB / 0.8363 GB, free: 49.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.6764, allocations: 71.91 kB / 0.8364 GB, free: 48.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/0.677, allocations: 125 kB / 0.8365 GB, free: 48.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6771, allocations: 40 kB / 0.8365 GB, free: 48.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007662/0.6778, allocations: 0.6434 MB / 0.8371 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6778, allocations: 0 / 0.8371 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002313/0.6802, allocations: 0.7227 MB / 0.8378 GB, free: 47.46 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.0002101/0.6804, allocations: 143.2 kB / 0.838 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005647/0.686, allocations: 4.158 MB / 0.842 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6861, allocations: 0 / 0.842 GB, free: 43.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.6901, allocations: 2.657 MB / 0.8446 GB, free: 40.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.6916, allocations: 209.7 kB / 0.8448 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.6974, allocations: 4.68 MB / 0.8494 GB, free: 35.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.6986, allocations: 1.704 MB / 0.8511 GB, free: 33.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00065/0.6992, allocations: 327.5 kB / 0.8514 GB, free: 33.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.6994, allocations: 51.44 kB / 0.8514 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.6994, allocations: 0 / 0.8514 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.04266/0.7421, allocations: 38.2 MB / 0.8887 GB, free: 11.45 MB / 0.5762 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)