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.001338/0.001338, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001329/0.001329, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002544, allocations: 283 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.507 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 104.9 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04094/0.21, allocations: 34.52 MB / 0.7267 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.2302, allocations: 11.39 MB / 0.7378 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.2347, allocations: 143.2 kB / 0.738 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.2455, allocations: 4 MB / 0.7419 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.251, allocations: 1.832 MB / 0.7437 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006089/0.2571, allocations: 2.183 MB / 0.7458 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.268, allocations: 8.487 MB / 0.7541 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3237/0.5918, allocations: 13.42 MB / 0.7672 GB, free: 16.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.5977, allocations: 3.798 MB / 0.7709 GB, free: 16.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006271/0.604, allocations: 4.397 MB / 0.7752 GB, free: 16.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.6056, allocations: 0.7791 MB / 0.7759 GB, free: 16.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.6098, allocations: 2.026 MB / 0.7779 GB, free: 16.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003645/0.6134, allocations: 3.051 MB / 0.7809 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005443/0.6189, allocations: 3.402 MB / 0.7842 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.6314, allocations: 12.02 MB / 0.796 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6314, allocations: 0 / 0.796 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6315, allocations: 0 / 0.796 GB, free: 13.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002907/0.6318, allocations: 1.188 kB / 0.796 GB, free: 13.51 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.02006/0.6518, allocations: 5.794 MB / 0.8016 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6519, allocations: 8.562 kB / 0.8016 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006553/0.6584, allocations: 1.059 MB / 0.8027 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.6647, allocations: 3.262 MB / 0.8059 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.665, allocations: 416 kB / 0.8063 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.6661, allocations: 0.5367 MB / 0.8068 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.6818, allocations: 9.075 MB / 0.8156 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.6819, allocations: 30.19 kB / 0.8157 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005891/0.6825, allocations: 235.8 kB / 0.8159 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002921/0.6828, allocations: 352 kB / 0.8162 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.6934, allocations: 6.831 MB / 0.8229 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05331/0.7467, allocations: 40.11 MB / 0.8621 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/0.7512, allocations: 3.106 MB / 0.8651 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.7543, allocations: 1.97 MB / 0.867 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.7544, allocations: 22 kB / 0.867 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.7544, allocations: 53.22 kB / 0.8671 GB, free: 464 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=179): time 4.348e-06/0.7545, allocations: 0 / 0.8671 GB, free: 464 kB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.0277/0.7822, allocations: 9.991 MB / 0.8769 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.7823, allocations: 69.41 kB / 0.8769 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.7849, allocations: 1.526 MB / 0.8784 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.7851, allocations: 57.7 kB / 0.8785 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.7869, allocations: 2.252 MB / 0.8807 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008357/0.7878, allocations: 0.6257 MB / 0.8813 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008532/0.7886, allocations: 407.8 kB / 0.8817 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7888, allocations: 313 kB / 0.882 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.7907, allocations: 1.179 MB / 0.8831 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.7933, allocations: 1.884 MB / 0.885 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/0.7982, allocations: 3.369 MB / 0.8882 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.7983, allocations: 8 kB / 0.8883 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008409/0.8067, allocations: 4.584 MB / 0.8927 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.8067, allocations: 13.72 kB / 0.8927 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/0.8068, allocations: 24 kB / 0.8928 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/0.8107, allocations: 1.589 MB / 0.8943 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.8119, allocations: 352.8 kB / 0.8947 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02723/0.8392, allocations: 18.59 MB / 0.9128 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.8411, allocations: 119.9 kB / 0.9129 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.8414, allocations: 96 kB / 0.913 GB, free: 500 kB / 0.6387 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.004172/0.8456, allocations: 1.9 MB / 0.9149 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.8463, allocations: 225.3 kB / 0.9151 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/0.8542, allocations: 4.092 MB / 0.9191 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.8542, allocations: 16 kB / 0.9191 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.8542, allocations: 20 kB / 0.9191 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.8543, allocations: 7.969 kB / 0.9191 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.8719, allocations: 9.476 MB / 0.9284 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.8719, allocations: 4 kB / 0.9284 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/0.8728, allocations: 182.2 kB / 0.9286 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/0.8765, allocations: 1.372 MB / 0.9299 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.8767, allocations: 36 kB / 0.9299 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/0.9013, allocations: 17.38 MB / 0.9469 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9013, allocations: 7 kB / 0.9469 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.9089, allocations: 4.075 MB / 0.9509 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.9102, allocations: 0.5179 MB / 0.9514 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.9104, allocations: 39.98 kB / 0.9514 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.9114, allocations: 88.41 kB / 0.9515 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/0.9119, allocations: 159.2 kB / 0.9517 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.912, allocations: 48 kB / 0.9517 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001624/0.9136, allocations: 1.005 MB / 0.9527 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9136, allocations: 0 / 0.9527 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003604/0.9172, allocations: 0.9883 MB / 0.9537 GB, free: 6.203 MB / 0.6856 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.000286/0.9175, allocations: 150.5 kB / 0.9538 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009069/0.9266, allocations: 5.198 MB / 0.9589 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.9266, allocations: 3.938 kB / 0.9589 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/0.9312, allocations: 2.663 MB / 0.9615 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.9347, allocations: 0.7771 MB / 0.9622 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.9525, allocations: 11.02 MB / 0.973 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/0.957, allocations: 3.576 MB / 0.9765 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001579/0.9586, allocations: 459.9 kB / 0.9769 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.9589, allocations: 111.4 kB / 0.977 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of SimCode: time 1.173e-06/0.9589, allocations: 4 kB / 0.977 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.0817/1.041, allocations: 44.26 MB / 1.02 GB, free: 2.574 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)