Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001499/0.001499, allocations: 102.2 kB / 16.29 MB, free: 6.375 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.001667/0.001667, allocations: 178.2 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2414, allocations: 114.5 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.5416/0.7831, allocations: 10.01 MB / 0.7939 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.7889, allocations: 3.085 MB / 0.7969 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.7902, allocations: 37.81 kB / 0.7969 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.7924, allocations: 0.6874 MB / 0.7976 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.7947, allocations: 0.6936 MB / 0.7983 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.7967, allocations: 0.6369 MB / 0.7989 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004822/0.8015, allocations: 2.732 MB / 0.8015 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006384/0.8079, allocations: 2.547 MB / 0.804 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.8116, allocations: 1.128 MB / 0.8051 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.8154, allocations: 1.382 MB / 0.8065 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.8167, allocations: 216.7 kB / 0.8067 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.8194, allocations: 488.5 kB / 0.8072 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003131/0.8225, allocations: 0.9826 MB / 0.8081 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003855/0.8264, allocations: 1.019 MB / 0.8091 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009173/0.8356, allocations: 3.41 MB / 0.8124 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.8356, allocations: 0 / 0.8124 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.677e-06/0.8356, allocations: 0 / 0.8124 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001944/0.8358, allocations: 0 / 0.8124 GB, free: 37.48 MB / 0.6544 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.0105/0.8464, allocations: 1.94 MB / 0.8143 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.8464, allocations: 9.969 kB / 0.8143 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007214/0.8537, allocations: 0.8878 MB / 0.8152 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/0.8577, allocations: 1.117 MB / 0.8163 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.858, allocations: 109.7 kB / 0.8164 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.8592, allocations: 146.9 kB / 0.8165 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.87, allocations: 3.021 MB / 0.8195 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/0.8702, allocations: 2.734 kB / 0.8195 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000763/0.871, allocations: 66.16 kB / 0.8196 GB, free: 34.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003889/0.8714, allocations: 177.6 kB / 0.8197 GB, free: 34.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007726/0.8791, allocations: 2.608 MB / 0.8223 GB, free: 33.31 MB / 0.6544 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.02713/0.9063, allocations: 13.49 MB / 0.8355 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.9101, allocations: 1.294 MB / 0.8367 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.9126, allocations: 1.053 MB / 0.8377 GB, free: 22.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.9128, allocations: 10.62 kB / 0.8378 GB, free: 22.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.9129, allocations: 39.62 kB / 0.8378 GB, free: 22.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 4.809e-06/0.9129, allocations: 4 kB / 0.8378 GB, free: 22.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07545/0.9883, allocations: 19.38 MB / 0.8567 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.9884, allocations: 73.03 kB / 0.8568 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.9902, allocations: 0.9178 MB / 0.8577 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.9905, allocations: 50.61 kB / 0.8577 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006313/0.9912, allocations: 0.7273 MB / 0.8584 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/0.9918, allocations: 487.6 kB / 0.8589 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008421/0.9927, allocations: 298.2 kB / 0.8592 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9929, allocations: 352.9 kB / 0.8595 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.9947, allocations: 1.34 MB / 0.8608 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.9967, allocations: 1.659 MB / 0.8625 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/1, allocations: 3.082 MB / 0.8655 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1, allocations: 4 kB / 0.8655 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01036/1.01, allocations: 5.646 MB / 0.871 GB, free: 468 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.01, allocations: 8 kB / 0.871 GB, free: 460 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/1.011, allocations: 11.94 kB / 0.871 GB, free: 448 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008628/1.019, allocations: 2.718 MB / 0.8737 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.02, allocations: 191.7 kB / 0.8738 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03969/1.06, allocations: 25.71 MB / 0.899 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.062, allocations: 97.36 kB / 0.899 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/1.063, allocations: 56 kB / 0.8991 GB, free: 3.105 MB / 0.6856 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.002337/1.065, allocations: 0.7354 MB / 0.8998 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005844/1.066, allocations: 118.6 kB / 0.8999 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.078, allocations: 5.392 MB / 0.9052 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/1.078, allocations: 19.28 kB / 0.9052 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-05/1.078, allocations: 16 kB / 0.9052 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/1.078, allocations: 11.91 kB / 0.9052 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.097, allocations: 8.636 MB / 0.9137 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.097, allocations: 4 kB / 0.9137 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/1.098, allocations: 120.2 kB / 0.9138 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008483/1.106, allocations: 2.539 MB / 0.9163 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/1.107, allocations: 36 kB / 0.9163 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03732/1.144, allocations: 22.98 MB / 0.9388 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.144, allocations: 8 kB / 0.9388 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.155, allocations: 5.126 MB / 0.9438 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.156, allocations: 472.7 kB / 0.9442 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.156, allocations: 35.98 kB / 0.9443 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.158, allocations: 71.91 kB / 0.9443 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005965/1.158, allocations: 125 kB / 0.9444 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.158, allocations: 36 kB / 0.9445 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0011/1.159, allocations: 0.6474 MB / 0.9451 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.159, allocations: 3.938 kB / 0.9451 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003214/1.163, allocations: 0.7227 MB / 0.9458 GB, free: 2.43 MB / 0.7325 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.0003279/1.163, allocations: 123.2 kB / 0.9459 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00762/1.171, allocations: 4.172 MB / 0.95 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.171, allocations: 4 kB / 0.95 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.176, allocations: 2.652 MB / 0.9526 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.178, allocations: 227.1 kB / 0.9528 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/1.186, allocations: 3.909 MB / 0.9566 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/1.188, allocations: 1.703 MB / 0.9583 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008952/1.189, allocations: 327.5 kB / 0.9586 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.189, allocations: 55.44 kB / 0.9587 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of SimCode: time 8.61e-07/1.189, allocations: 7.938 kB / 0.9587 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of Templates: time 0.0658/1.255, allocations: 38.98 MB / 0.9967 GB, free: 14.31 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)