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.005062/0.005062, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.00112/0.00112, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 278.9 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 91.86 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1467, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.3616/0.5084, allocations: 9.992 MB / 0.7762 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005299/0.5137, allocations: 3.043 MB / 0.7791 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.5144, allocations: 34.53 kB / 0.7792 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.5162, allocations: 0.6914 MB / 0.7798 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.5178, allocations: 0.6894 MB / 0.7805 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.5193, allocations: 0.6408 MB / 0.7811 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.5222, allocations: 2.727 MB / 0.7838 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.5248, allocations: 2.525 MB / 0.7863 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.5266, allocations: 1.134 MB / 0.7874 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5284, allocations: 1.381 MB / 0.7887 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.5287, allocations: 217.6 kB / 0.7889 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5298, allocations: 493.1 kB / 0.7894 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009847/0.5308, allocations: 0.9878 MB / 0.7904 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009315/0.5317, allocations: 1.014 MB / 0.7914 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.536, allocations: 3.41 MB / 0.7947 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.536, allocations: 0.5625 kB / 0.7947 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.458e-06/0.536, allocations: 5.766 kB / 0.7947 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.71e-05/0.5361, allocations: 0 / 0.7947 GB, free: 4.559 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.003829/0.5399, allocations: 1.997 MB / 0.7966 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.54, allocations: 10 kB / 0.7967 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.5459, allocations: 0.8929 MB / 0.7975 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.5485, allocations: 1.165 MB / 0.7987 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.5486, allocations: 110.4 kB / 0.7988 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.5489, allocations: 147.2 kB / 0.7989 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005034/0.554, allocations: 3.013 MB / 0.8018 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.554, allocations: 7.344 kB / 0.8019 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.5542, allocations: 61.88 kB / 0.8019 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.5545, allocations: 177.2 kB / 0.8021 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.5586, allocations: 2.612 MB / 0.8046 GB, free: 332 kB / 0.5606 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.01518/0.5738, allocations: 13.5 MB / 0.8178 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.5757, allocations: 1.295 MB / 0.8191 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.577, allocations: 1.049 MB / 0.8201 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/0.5771, allocations: 13.31 kB / 0.8201 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.5771, allocations: 41.88 kB / 0.8202 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 4.218e-06/0.5771, allocations: 1.531 kB / 0.8202 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.0724/0.6495, allocations: 19.43 MB / 0.8391 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.6496, allocations: 64.72 kB / 0.8392 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.6508, allocations: 0.9261 MB / 0.8401 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.651, allocations: 49.7 kB / 0.8402 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.6515, allocations: 0.7501 MB / 0.8409 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.6519, allocations: 0.4996 MB / 0.8414 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005717/0.6525, allocations: 287.5 kB / 0.8416 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6527, allocations: 353.9 kB / 0.842 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.6545, allocations: 1.335 MB / 0.8433 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.6565, allocations: 1.656 MB / 0.8449 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/0.6603, allocations: 3.086 MB / 0.8479 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.6603, allocations: 4 kB / 0.8479 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01132/0.6717, allocations: 5.647 MB / 0.8534 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.6717, allocations: 11.94 kB / 0.8534 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.6718, allocations: 11.94 kB / 0.8535 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008589/0.6804, allocations: 2.708 MB / 0.8561 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.6812, allocations: 199.7 kB / 0.8563 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0345/0.7158, allocations: 25.74 MB / 0.8814 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.7175, allocations: 95.95 kB / 0.8815 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.7177, allocations: 52 kB / 0.8816 GB, free: 11.9 MB / 0.6387 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.001271/0.719, allocations: 0.7354 MB / 0.8823 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.7193, allocations: 123.2 kB / 0.8824 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.7303, allocations: 5.396 MB / 0.8877 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.7304, allocations: 15.98 kB / 0.8877 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/0.7304, allocations: 20 kB / 0.8877 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.7304, allocations: 7.969 kB / 0.8877 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.7462, allocations: 8.69 MB / 0.8962 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.7463, allocations: 8.062 kB / 0.8962 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.7468, allocations: 119.8 kB / 0.8963 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008355/0.7552, allocations: 2.587 MB / 0.8989 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.7554, allocations: 28 kB / 0.8989 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/0.7887, allocations: 24.18 MB / 0.9225 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.7888, allocations: 7.938 kB / 0.9225 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.7993, allocations: 5.249 MB / 0.9276 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8004, allocations: 496.2 kB / 0.9281 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.8006, allocations: 27.98 kB / 0.9281 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/0.8015, allocations: 75.91 kB / 0.9282 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/0.8021, allocations: 129.4 kB / 0.9283 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.8022, allocations: 36 kB / 0.9284 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008164/0.8031, allocations: 0.6434 MB / 0.929 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.302e-06/0.8031, allocations: 0 / 0.929 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002525/0.8056, allocations: 0.7226 MB / 0.9297 GB, free: 9.793 MB / 0.6856 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.0002812/0.8059, allocations: 141.5 kB / 0.9298 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006952/0.8129, allocations: 4.208 MB / 0.9339 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8129, allocations: 0 / 0.9339 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005158/0.8181, allocations: 2.74 MB / 0.9366 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.8195, allocations: 226.1 kB / 0.9368 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.826, allocations: 4.033 MB / 0.9408 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.8276, allocations: 1.7 MB / 0.9424 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008049/0.8284, allocations: 325.5 kB / 0.9427 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.8286, allocations: 51.44 kB / 0.9428 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of SimCode: time 7.72e-07/0.8286, allocations: 0 / 0.9428 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of Templates: time 0.05858/0.8872, allocations: 40.37 MB / 0.9822 GB, free: 3.992 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)