Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.7 kB / 15.99 MB, free: 6.355 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.001247/0.001247, allocations: 192.2 kB / 16.91 MB, free: 6.184 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 276.7 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.189/1.189, allocations: 178.5 MB / 0.5076 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 95.84 kB / 0.6066 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1657, allocations: 89.13 MB / 0.6936 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3213/0.487, allocations: 34.51 MB / 0.7273 GB, free: 35.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.5019, allocations: 11.4 MB / 0.7385 GB, free: 28.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.5054, allocations: 141.9 kB / 0.7386 GB, free: 28.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.008763/0.5142, allocations: 4.008 MB / 0.7425 GB, free: 25.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.5195, allocations: 1.828 MB / 0.7443 GB, free: 24.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.525, allocations: 2.179 MB / 0.7464 GB, free: 23.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00895/0.534, allocations: 8.487 MB / 0.7547 GB, free: 19.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02009/0.5541, allocations: 13.44 MB / 0.7678 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005385/0.5595, allocations: 3.786 MB / 0.7715 GB, free: 12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006715/0.5663, allocations: 4.402 MB / 0.7758 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.5694, allocations: 0.7802 MB / 0.7766 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/0.5755, allocations: 2.019 MB / 0.7786 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.006026/0.5815, allocations: 3.058 MB / 0.7816 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009197/0.5908, allocations: 3.406 MB / 0.7849 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.6045, allocations: 10.26 MB / 0.7949 GB, free: 2.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6046, allocations: 0 / 0.7949 GB, free: 2.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6046, allocations: 0.875 kB / 0.7949 GB, free: 2.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004245/0.605, allocations: 0 / 0.7949 GB, free: 2.125 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01839/0.6234, allocations: 5.797 MB / 0.8006 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6235, allocations: 9.344 kB / 0.8006 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007763/0.6312, allocations: 1.058 MB / 0.8016 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008189/0.6394, allocations: 3.267 MB / 0.8048 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/0.64, allocations: 411.5 kB / 0.8052 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/0.6427, allocations: 0.5393 MB / 0.8057 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.6725, allocations: 9.079 MB / 0.8146 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004902/0.6731, allocations: 23.72 kB / 0.8146 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003512/0.6766, allocations: 240 kB / 0.8148 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006014/0.6772, allocations: 350.8 kB / 0.8152 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.6959, allocations: 6.83 MB / 0.8218 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/0.7529, allocations: 40.11 MB / 0.861 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/0.7575, allocations: 3.114 MB / 0.864 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003223/0.7608, allocations: 1.97 MB / 0.866 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.761, allocations: 22 kB / 0.866 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.761, allocations: 48.56 kB / 0.866 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=179): time 3.677e-06/0.761, allocations: 0 / 0.866 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=182): time 0.02935/0.7904, allocations: 9.973 MB / 0.8758 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.7905, allocations: 77.41 kB / 0.8759 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.794, allocations: 1.522 MB / 0.8773 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/0.7944, allocations: 57.7 kB / 0.8774 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.7965, allocations: 2.253 MB / 0.8796 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/0.7974, allocations: 0.6316 MB / 0.8802 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008783/0.7983, allocations: 403.9 kB / 0.8806 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7985, allocations: 305.1 kB / 0.8809 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.8004, allocations: 1.183 MB / 0.882 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.8029, allocations: 1.877 MB / 0.8839 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.8076, allocations: 3.371 MB / 0.8872 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.8076, allocations: 8 kB / 0.8872 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00833/0.8159, allocations: 4.573 MB / 0.8916 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.816, allocations: 16 kB / 0.8917 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.816, allocations: 20 kB / 0.8917 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/0.82, allocations: 1.603 MB / 0.8932 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.8213, allocations: 347.4 kB / 0.8936 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/0.8476, allocations: 18.6 MB / 0.9117 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.8496, allocations: 119.9 kB / 0.9119 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/0.85, allocations: 96 kB / 0.9119 GB, free: 7.184 MB / 0.67 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004049/0.8541, allocations: 1.891 MB / 0.9138 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006552/0.8547, allocations: 221.4 kB / 0.914 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008116/0.8628, allocations: 4.094 MB / 0.918 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.8629, allocations: 20 kB / 0.918 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/0.8629, allocations: 20 kB / 0.918 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.863, allocations: 11.91 kB / 0.9181 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.8822, allocations: 9.473 MB / 0.9273 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.8823, allocations: 8 kB / 0.9273 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.8831, allocations: 179.7 kB / 0.9275 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.8869, allocations: 1.368 MB / 0.9288 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.887, allocations: 43.94 kB / 0.9289 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/0.9109, allocations: 17.36 MB / 0.9458 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.911, allocations: 4 kB / 0.9458 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007808/0.9188, allocations: 4.077 MB / 0.9498 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.9201, allocations: 0.5256 MB / 0.9503 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005427/0.9207, allocations: 36 kB / 0.9503 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.9219, allocations: 87.89 kB / 0.9504 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/0.9224, allocations: 161.7 kB / 0.9506 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.9225, allocations: 48 kB / 0.9506 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001787/0.9243, allocations: 1.005 MB / 0.9516 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9243, allocations: 0 / 0.9516 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003636/0.928, allocations: 0.9883 MB / 0.9526 GB, free: 12.58 MB / 0.7169 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.9283, allocations: 154.9 kB / 0.9527 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009368/0.9377, allocations: 5.19 MB / 0.9578 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.9378, allocations: 0 / 0.9578 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004761/0.9425, allocations: 2.662 MB / 0.9604 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/0.9466, allocations: 0.7916 MB / 0.9612 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/0.9699, allocations: 11.78 MB / 0.9727 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/0.9766, allocations: 3.662 MB / 0.9762 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/0.9772, allocations: 131.4 kB / 0.9764 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.9773, allocations: 0 / 0.9764 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.4333/1.411, allocations: 159.4 MB / 1.132 GB, free: 139.9 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)