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.001085/0.001085, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001017/0.001017, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002186, allocations: 292.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 98.67 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 86.97 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2871/0.439, allocations: 32.59 MB / 0.7127 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.4587, allocations: 10.26 MB / 0.7227 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003862/0.4626, allocations: 149.4 kB / 0.7228 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4727, allocations: 3.716 MB / 0.7265 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.4793, allocations: 1.849 MB / 0.7283 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006357/0.4857, allocations: 2.142 MB / 0.7304 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009659/0.4954, allocations: 7.324 MB / 0.7375 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/0.5096, allocations: 9.485 MB / 0.7468 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.515, allocations: 3.166 MB / 0.7499 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005232/0.5202, allocations: 3.485 MB / 0.7533 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.522, allocations: 0.6445 MB / 0.7539 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.5265, allocations: 1.763 MB / 0.7556 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.5301, allocations: 2.557 MB / 0.7581 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00563/0.5358, allocations: 2.887 MB / 0.7609 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.5478, allocations: 10.05 MB / 0.7708 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5479, allocations: 0 / 0.7708 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5479, allocations: 0 / 0.7708 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002956/0.5482, allocations: 0 / 0.7708 GB, free: 3.992 MB / 0.5294 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.01233/0.5605, allocations: 4.998 MB / 0.7756 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5606, allocations: 12.03 kB / 0.7756 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.5661, allocations: 0.9512 MB / 0.7766 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005275/0.5714, allocations: 2.859 MB / 0.7794 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.5717, allocations: 345.7 kB / 0.7797 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009643/0.5726, allocations: 472.2 kB / 0.7801 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.5844, allocations: 7.663 MB / 0.7876 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.5845, allocations: 27.77 kB / 0.7877 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/0.585, allocations: 200 kB / 0.7878 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/0.5853, allocations: 313 kB / 0.7881 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009288/0.5946, allocations: 5.714 MB / 0.7937 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.6262, allocations: 35.09 MB / 0.828 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.6287, allocations: 2.162 MB / 0.8301 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.6302, allocations: 1.258 MB / 0.8313 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.6303, allocations: 21.25 kB / 0.8314 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.6304, allocations: 47.88 kB / 0.8314 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.6304, allocations: 0 / 0.8314 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.01281/0.6432, allocations: 7.088 MB / 0.8383 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6433, allocations: 68.72 kB / 0.8384 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.6451, allocations: 1.484 MB / 0.8398 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/0.6452, allocations: 45.7 kB / 0.8399 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.6463, allocations: 2.015 MB / 0.8418 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.6467, allocations: 485 kB / 0.8423 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/0.6471, allocations: 347.2 kB / 0.8426 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.6472, allocations: 309.1 kB / 0.8429 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.6484, allocations: 0.9174 MB / 0.8438 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.65, allocations: 1.593 MB / 0.8454 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.653, allocations: 2.729 MB / 0.8481 GB, free: 4 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/0.653, allocations: 8.047 kB / 0.8481 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005546/0.6585, allocations: 3.53 MB / 0.8515 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.6586, allocations: 12 kB / 0.8515 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.6586, allocations: 24 kB / 0.8515 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.661, allocations: 0.9117 MB / 0.8524 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6621, allocations: 347.4 kB / 0.8528 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.6818, allocations: 23.12 MB / 0.8753 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6834, allocations: 99.95 kB / 0.8754 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.6837, allocations: 84 kB / 0.8755 GB, free: 2.117 MB / 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 (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.002479/0.6862, allocations: 1.606 MB / 0.8771 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.6867, allocations: 205.5 kB / 0.8773 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.6918, allocations: 2.994 MB / 0.8802 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6918, allocations: 16 kB / 0.8802 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/0.6919, allocations: 8 kB / 0.8802 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6919, allocations: 8.25 kB / 0.8802 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.7033, allocations: 7.344 MB / 0.8874 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.7033, allocations: 4.562 kB / 0.8874 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.7041, allocations: 179.7 kB / 0.8876 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/0.7063, allocations: 0.8257 MB / 0.8884 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.7064, allocations: 28 kB / 0.8884 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.7249, allocations: 21.96 MB / 0.9099 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7249, allocations: 8.062 kB / 0.9099 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/0.7301, allocations: 3.031 MB / 0.9128 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009399/0.731, allocations: 458.4 kB / 0.9133 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/0.7315, allocations: 31.94 kB / 0.9133 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.7325, allocations: 71.91 kB / 0.9134 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.7328, allocations: 128.7 kB / 0.9135 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.7329, allocations: 36 kB / 0.9135 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001455/0.7344, allocations: 0.9756 MB / 0.9145 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7344, allocations: 4 kB / 0.9145 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0027/0.7371, allocations: 0.7891 MB / 0.9152 GB, free: 7.25 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 (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.0002432/0.7373, allocations: 136.3 kB / 0.9154 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006648/0.744, allocations: 4.648 MB / 0.9199 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.744, allocations: 0 / 0.9199 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.7475, allocations: 2.733 MB / 0.9226 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.7509, allocations: 0.7424 MB / 0.9233 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.7637, allocations: 7.829 MB / 0.931 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/0.7674, allocations: 3.179 MB / 0.9341 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.7679, allocations: 123.4 kB / 0.9342 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/0.7679, allocations: 3.938 kB / 0.9342 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of Templates: time 0.8832/1.651, allocations: 321.5 MB / 1.248 GB, free: 249.8 MB / 0.7481 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)