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.00106/0.00106, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001084/0.001084, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 286.6 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.3 MB / 0.4989 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 93.09 kB / 0.5967 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1494, allocations: 86.98 MB / 0.6816 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.2645/0.414, allocations: 9.989 MB / 0.6914 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.4187, allocations: 3.049 MB / 0.6943 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.4192, allocations: 35 kB / 0.6944 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.4208, allocations: 0.6741 MB / 0.695 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.4221, allocations: 0.6977 MB / 0.6957 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.4235, allocations: 0.6331 MB / 0.6963 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.4264, allocations: 2.74 MB / 0.699 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.429, allocations: 2.523 MB / 0.7015 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.4307, allocations: 1.137 MB / 0.7026 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.4324, allocations: 1.374 MB / 0.7039 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.4328, allocations: 220.2 kB / 0.7041 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.4339, allocations: 488.4 kB / 0.7046 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.435, allocations: 0.9796 MB / 0.7056 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.4361, allocations: 1.018 MB / 0.7066 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.4398, allocations: 3.405 MB / 0.7099 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4398, allocations: 0 / 0.7099 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4398, allocations: 0 / 0.7099 GB, free: 6.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.181e-05/0.4399, allocations: 1.578 kB / 0.7099 GB, free: 6.988 MB / 494.1 MB 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.004058/0.4439, allocations: 1.951 MB / 0.7118 GB, free: 5.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.444, allocations: 18.45 kB / 0.7118 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005605/0.4496, allocations: 0.8771 MB / 0.7127 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.4523, allocations: 1.164 MB / 0.7138 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/0.4524, allocations: 105.6 kB / 0.7139 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.4527, allocations: 142.9 kB / 0.714 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.457, allocations: 3.018 MB / 0.717 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.4571, allocations: 6.562 kB / 0.717 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.4573, allocations: 69.58 kB / 0.7171 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.4575, allocations: 178.7 kB / 0.7172 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/0.4613, allocations: 2.608 MB / 0.7198 GB, free: 2.047 MB / 494.1 MB 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.01543/0.4767, allocations: 13.48 MB / 0.7329 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.4785, allocations: 1.293 MB / 0.7342 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.4798, allocations: 1.049 MB / 0.7352 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.4799, allocations: 13.02 kB / 0.7352 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.48, allocations: 50.22 kB / 0.7353 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.48, allocations: 1.156 kB / 0.7353 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139): time 0.06633/0.5463, allocations: 19.38 MB / 0.7542 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.5464, allocations: 64.72 kB / 0.7543 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.5475, allocations: 0.9183 MB / 0.7552 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.5477, allocations: 49.7 kB / 0.7552 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.5481, allocations: 0.7361 MB / 0.7559 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.5485, allocations: 488.9 kB / 0.7564 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005483/0.549, allocations: 287.4 kB / 0.7567 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5492, allocations: 353.9 kB / 0.757 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.551, allocations: 1.343 MB / 0.7583 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.5529, allocations: 1.655 MB / 0.76 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.5566, allocations: 3.082 MB / 0.763 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5566, allocations: 4 kB / 0.763 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01075/0.5673, allocations: 5.638 MB / 0.7685 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5674, allocations: 8 kB / 0.7685 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5674, allocations: 11.94 kB / 0.7685 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008386/0.5758, allocations: 2.725 MB / 0.7712 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.5769, allocations: 191.7 kB / 0.7713 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03479/0.6117, allocations: 25.71 MB / 0.7964 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6132, allocations: 104.4 kB / 0.7965 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.6134, allocations: 52 kB / 0.7966 GB, free: 7.531 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.001211/0.6146, allocations: 0.7315 MB / 0.7973 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.6149, allocations: 118.6 kB / 0.7974 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.6257, allocations: 5.396 MB / 0.8027 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.6257, allocations: 16 kB / 0.8027 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/0.6258, allocations: 20 kB / 0.8027 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.6258, allocations: 7.969 kB / 0.8027 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.6423, allocations: 8.622 MB / 0.8111 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.6423, allocations: 4 kB / 0.8111 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.6428, allocations: 119.8 kB / 0.8113 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008098/0.6509, allocations: 2.555 MB / 0.8138 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.6511, allocations: 24 kB / 0.8138 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03141/0.6826, allocations: 22.98 MB / 0.8362 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6826, allocations: 7.938 kB / 0.8362 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.6928, allocations: 5.128 MB / 0.8412 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.6941, allocations: 475.6 kB / 0.8417 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.6943, allocations: 31.98 kB / 0.8417 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.6952, allocations: 76.09 kB / 0.8418 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005019/0.6957, allocations: 121 kB / 0.8419 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6959, allocations: 39.94 kB / 0.842 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000831/0.6967, allocations: 0.6473 MB / 0.8426 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6967, allocations: 0 / 0.8426 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002194/0.6989, allocations: 0.7227 MB / 0.8433 GB, free: 6.863 MB / 0.6075 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.0002377/0.6992, allocations: 135.1 kB / 0.8434 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006572/0.7057, allocations: 4.177 MB / 0.8475 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.7058, allocations: 4.125 kB / 0.8475 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004694/0.7105, allocations: 2.654 MB / 0.8501 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7117, allocations: 230.9 kB / 0.8503 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.7178, allocations: 3.89 MB / 0.8541 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.7192, allocations: 1.711 MB / 0.8558 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007165/0.7199, allocations: 333.4 kB / 0.8561 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7201, allocations: 51.44 kB / 0.8561 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of SimCode: time 9.81e-07/0.7201, allocations: 4 kB / 0.8562 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of Templates: time 0.05165/0.7718, allocations: 38.98 MB / 0.8942 GB, free: 2.715 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)