Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001115/0.001115, allocations: 192.4 kB / 16.13 MB, free: 6.707 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 279.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 90.38 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.146, allocations: 86.98 MB / 0.6795 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03224/0.1783, allocations: 32.3 MB / 0.711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.1938, allocations: 10.26 MB / 0.721 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.1973, allocations: 139.2 kB / 0.7211 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008582/0.2059, allocations: 3.482 MB / 0.7245 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.2126, allocations: 1.739 MB / 0.7262 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007815/0.2205, allocations: 1.941 MB / 0.7281 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0123/0.2328, allocations: 10.57 MB / 0.7385 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.2484, allocations: 10.62 MB / 0.7488 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.2529, allocations: 2.705 MB / 0.7515 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005484/0.2584, allocations: 3.555 MB / 0.7549 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001698/0.2601, allocations: 456 kB / 0.7554 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.2646, allocations: 1.876 MB / 0.7572 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00396/0.2686, allocations: 2.343 MB / 0.7595 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005818/0.2745, allocations: 2.656 MB / 0.7621 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009862/0.2844, allocations: 9.979 MB / 0.7718 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2844, allocations: 3.938 kB / 0.7718 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2844, allocations: 0 / 0.7718 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001737/0.2846, allocations: 0 / 0.7718 GB, free: 2.219 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2844/0.569, allocations: 5.004 MB / 0.7767 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.569, allocations: 10.88 kB / 0.7767 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.5741, allocations: 0.9505 MB / 0.7777 GB, free: 87.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.5792, allocations: 2.862 MB / 0.7805 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.5794, allocations: 349.2 kB / 0.7808 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.5804, allocations: 461.4 kB / 0.7812 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.5925, allocations: 7.668 MB / 0.7887 GB, free: 82.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.5927, allocations: 23.86 kB / 0.7887 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004162/0.5931, allocations: 209.2 kB / 0.7889 GB, free: 81.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/0.5934, allocations: 312.1 kB / 0.7892 GB, free: 81.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00865/0.6021, allocations: 5.711 MB / 0.7948 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.6297, allocations: 35.1 MB / 0.8291 GB, free: 47.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.6317, allocations: 2.145 MB / 0.8312 GB, free: 46.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.6329, allocations: 1.265 MB / 0.8324 GB, free: 45.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.158e-05/0.633, allocations: 13.19 kB / 0.8324 GB, free: 45.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.633, allocations: 43.81 kB / 0.8325 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 2.936e-06/0.633, allocations: 0 / 0.8325 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01121/0.6442, allocations: 7.088 MB / 0.8394 GB, free: 39.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.6443, allocations: 68.66 kB / 0.8395 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.6458, allocations: 1.484 MB / 0.8409 GB, free: 38.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.1e-05/0.6459, allocations: 45.7 kB / 0.841 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.6465, allocations: 2.01 MB / 0.8429 GB, free: 36.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.6468, allocations: 492.2 kB / 0.8434 GB, free: 35.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.6472, allocations: 343.2 kB / 0.8437 GB, free: 35.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.6472, allocations: 305.1 kB / 0.844 GB, free: 34.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.6482, allocations: 0.9135 MB / 0.8449 GB, free: 34.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.6494, allocations: 1.601 MB / 0.8465 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.6518, allocations: 2.729 MB / 0.8491 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.6518, allocations: 8 kB / 0.8491 GB, free: 29.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004855/0.6567, allocations: 3.53 MB / 0.8526 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.6567, allocations: 16 kB / 0.8526 GB, free: 25.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.6567, allocations: 24.83 kB / 0.8526 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.659, allocations: 0.9037 MB / 0.8535 GB, free: 24.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.66, allocations: 351.3 kB / 0.8538 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.6735, allocations: 21.21 MB / 0.8746 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.675, allocations: 108 kB / 0.8747 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6752, allocations: 84 kB / 0.8747 GB, free: 1.191 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002114/0.6773, allocations: 1.616 MB / 0.8763 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.6777, allocations: 209.8 kB / 0.8765 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/0.6825, allocations: 2.982 MB / 0.8794 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6825, allocations: 19.98 kB / 0.8794 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.6826, allocations: 12 kB / 0.8795 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.6826, allocations: 15.91 kB / 0.8795 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.6932, allocations: 7.334 MB / 0.8866 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6933, allocations: 4 kB / 0.8866 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.694, allocations: 179.7 kB / 0.8868 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.6964, allocations: 0.8223 MB / 0.8876 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.6965, allocations: 24 kB / 0.8876 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.7133, allocations: 20.3 MB / 0.9075 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7134, allocations: 4 kB / 0.9075 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/0.7184, allocations: 3.035 MB / 0.9104 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/0.7194, allocations: 462.5 kB / 0.9109 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.7196, allocations: 31.91 kB / 0.9109 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.7204, allocations: 71.91 kB / 0.911 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.7207, allocations: 128.2 kB / 0.9111 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.7208, allocations: 36 kB / 0.9111 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001247/0.7221, allocations: 0.9756 MB / 0.9121 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7221, allocations: 0 / 0.9121 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002652/0.7248, allocations: 0.7852 MB / 0.9128 GB, free: 8.105 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.725, allocations: 143 kB / 0.913 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005667/0.7307, allocations: 4.024 MB / 0.9169 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7307, allocations: 0 / 0.9169 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/0.7343, allocations: 2.729 MB / 0.9196 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.7374, allocations: 0.6641 MB / 0.9202 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.7499, allocations: 9.172 MB / 0.9292 GB, free: 7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/0.753, allocations: 3.109 MB / 0.9322 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001404/0.7544, allocations: 457.9 kB / 0.9327 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.7547, allocations: 119.4 kB / 0.9328 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.7547, allocations: 0 / 0.9328 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of Templates: time 0.05615/0.8108, allocations: 34.72 MB / 0.9667 GB, free: 1 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)