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.0007805/0.0007805, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005311/0.005311, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 270.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 17.06 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01035/0.1651, allocations: 9.507 MB / 0.6944 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.17, allocations: 3.016 MB / 0.6974 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.1704, allocations: 27.88 kB / 0.6974 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1708, allocations: 183.2 kB / 0.6976 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.172, allocations: 0.6563 MB / 0.6982 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1731, allocations: 0.5455 MB / 0.6987 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.1766, allocations: 4.056 MB / 0.7027 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/0.1808, allocations: 3.13 MB / 0.7058 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.182, allocations: 0.8327 MB / 0.7066 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.1836, allocations: 1.277 MB / 0.7078 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.1838, allocations: 104 kB / 0.7079 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009394/0.1847, allocations: 455.2 kB / 0.7084 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008172/0.1855, allocations: 0.8418 MB / 0.7092 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008874/0.1864, allocations: 0.8803 MB / 0.71 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.1892, allocations: 3.251 MB / 0.7132 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1892, allocations: 0 / 0.7132 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1892, allocations: 3.938 kB / 0.7132 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.1892, allocations: 3.938 kB / 0.7132 GB, free: 2.16 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.002697/0.1919, allocations: 1.6 MB / 0.7148 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.192, allocations: 8.031 kB / 0.7148 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00569/0.1977, allocations: 0.8845 MB / 0.7157 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.1994, allocations: 1.122 MB / 0.7168 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/0.1995, allocations: 115.3 kB / 0.7169 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.1997, allocations: 140.4 kB / 0.717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.2041, allocations: 3.026 MB / 0.72 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.2042, allocations: 7.844 kB / 0.72 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.2044, allocations: 67.91 kB / 0.72 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.2046, allocations: 179 kB / 0.7202 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.2084, allocations: 2.604 MB / 0.7227 GB, free: 8.215 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.01423/0.2226, allocations: 13.53 MB / 0.736 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.2245, allocations: 1.291 MB / 0.7372 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.2258, allocations: 1.05 MB / 0.7382 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.2259, allocations: 8.656 kB / 0.7382 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2259, allocations: 43.22 kB / 0.7383 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.2259, allocations: 0 / 0.7383 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07272/0.2987, allocations: 19.46 MB / 0.7573 GB, free: 3.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2987, allocations: 72.66 kB / 0.7574 GB, free: 3.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2999, allocations: 0.9183 MB / 0.7583 GB, free: 2.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.3, allocations: 49.7 kB / 0.7583 GB, free: 2.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.3005, allocations: 0.7283 MB / 0.759 GB, free: 1.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.3009, allocations: 488.9 kB / 0.7595 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.3011, allocations: 125.7 kB / 0.7596 GB, free: 1.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3012, allocations: 353.9 kB / 0.7599 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.303, allocations: 1.339 MB / 0.7612 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.3051, allocations: 1.656 MB / 0.7629 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003917/0.309, allocations: 3.092 MB / 0.7659 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.309, allocations: 4 kB / 0.7659 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01158/0.3206, allocations: 5.633 MB / 0.7714 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3207, allocations: 12 kB / 0.7714 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.3207, allocations: 11.94 kB / 0.7714 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008791/0.3295, allocations: 2.717 MB / 0.7741 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.3303, allocations: 195.6 kB / 0.7743 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3097/0.64, allocations: 23.33 MB / 0.797 GB, free: 78.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6413, allocations: 91.39 kB / 0.7971 GB, free: 78.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.6415, allocations: 60.12 kB / 0.7972 GB, free: 78.02 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.000929/0.6424, allocations: 0.731 MB / 0.7979 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.6426, allocations: 118.2 kB / 0.798 GB, free: 77.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.6536, allocations: 5.397 MB / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6536, allocations: 12.84 kB / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/0.6537, allocations: 19.25 kB / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6537, allocations: 7.688 kB / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.6683, allocations: 8.619 MB / 0.8117 GB, free: 71.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6683, allocations: 4.094 kB / 0.8117 GB, free: 71.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.6688, allocations: 117.8 kB / 0.8118 GB, free: 71.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007875/0.6767, allocations: 2.55 MB / 0.8143 GB, free: 70.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.6768, allocations: 26.78 kB / 0.8144 GB, free: 70.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/0.7011, allocations: 20.87 MB / 0.8347 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7011, allocations: 4.812 kB / 0.8347 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009213/0.7103, allocations: 5.13 MB / 0.8398 GB, free: 47.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/0.7111, allocations: 483.5 kB / 0.8402 GB, free: 47.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.7113, allocations: 27.98 kB / 0.8402 GB, free: 47.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.7122, allocations: 79.91 kB / 0.8403 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/0.7127, allocations: 121 kB / 0.8404 GB, free: 46.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.7128, allocations: 39.98 kB / 0.8405 GB, free: 46.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006415/0.7134, allocations: 0.6434 MB / 0.8411 GB, free: 46.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7134, allocations: 0 / 0.8411 GB, free: 46.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002157/0.7156, allocations: 0.7188 MB / 0.8418 GB, free: 45.51 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.0002359/0.7158, allocations: 145.4 kB / 0.8419 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005847/0.7217, allocations: 4.15 MB / 0.846 GB, free: 41.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7217, allocations: 4.062 kB / 0.846 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.726, allocations: 2.668 MB / 0.8486 GB, free: 38.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.7276, allocations: 211.4 kB / 0.8488 GB, free: 38.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.7324, allocations: 4.684 MB / 0.8534 GB, free: 33.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.7335, allocations: 1.696 MB / 0.855 GB, free: 31.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006747/0.7342, allocations: 330.8 kB / 0.8553 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7343, allocations: 63.42 kB / 0.8554 GB, free: 31.41 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.7344, allocations: 0 / 0.8554 GB, free: 31.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.04229/0.7767, allocations: 36.72 MB / 0.8913 GB, free: 10.9 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)